Skip to content

Commit

Permalink
Fix get-xetabase-branch.yml #TASK-6442
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfeSanahuja committed Feb 25, 2025
1 parent df0207a commit 56bf872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scripts/get-xetabase-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ get_xetabase_branch() {

# If the branch begins with 'TASK' and exists in the opencga-enterprise repository, I return it
if [[ $current_branch == TASK* ]]; then
if [ "$(git ls-remote "https://$ZETTA_REPO_ACCESS_TOKEN@github.com/zetta-genomics/opencga-enterprise.git" "$target_branch" )" ] ; then
echo "$target_branch";
if [ "$(git ls-remote "https://$ZETTA_REPO_ACCESS_TOKEN@github.com/zetta-genomics/opencga-enterprise.git" "$current_branch" )" ] ; then
echo "$current_branch";
return 0;
fi
fi
Expand Down

0 comments on commit 56bf872

Please sign in to comment.