@@ -51,17 +51,27 @@ jobs:
5151 xetabase_branch=$(./.github/workflows/scripts/get_opencga_enterprise_branch.sh "java-common-libs" "develop" "TASK-8067")
5252 echo "__CI CORE Xetabase ref:__ \"${xetabase_branch}\"" | tee -a ${GITHUB_STEP_SUMMARY}
5353 REPO_URI="https://$ZETTA_REPO_ACCESS_TOKEN@github.com/zetta-genomics/opencga-enterprise.git"
54- echo "$(git ls-remote $REPO_URI TASK-8067)"
54+ echo "$(git ls-remote " $REPO_URI" " TASK-8067" )"
5555 env :
56- ZETTA_REPO_ACCESS_TOKEN : ${{ env.ZETTA_REPO_ACCESS_TOKEN }}
57-
56+ ZETTA_REPO_ACCESS_TOKEN : ${{ secrets.ZETTA_REPO_ACCESS_TOKEN }}
57+ - id : get_xetabase_branch
58+ name : " Get JCL current branch for Xetabase from target branch"
59+ run : |
60+ chmod +x ./.github/workflows/scripts/get-xetabase-branch.sh
61+ echo "github.event.pull_request.base.ref: develop"
62+ echo "github.event.pull_request.head.ref: TASK-8067"
63+ echo "secrets.ZETTA_REPO_ACCESS_TOKEN: ${{ secrets.ZETTA_REPO_ACCESS_TOKEN }}"
64+ xetabase_branch=$(./.github/workflows/scripts/get-xetabase-branch.sh "develop" "TASK-8067")
65+ echo "__Xetabase ref:__ \"${xetabase_branch}\"" | tee -a ${GITHUB_STEP_SUMMARY}
66+ env :
67+ ZETTA_REPO_ACCESS_TOKEN : ${{ secrets.ZETTA_REPO_ACCESS_TOKEN }}
5868 - name : Clone OpenCGA Enterprise branch '${{ inputs.branch }}'
5969 uses : actions/checkout@v4
6070 with :
6171 repository : zetta-genomics/opencga-enterprise
6272 ref : TASK-8067
6373 token : ${{ env.ZETTA_REPO_ACCESS_TOKEN }}
64- path : opencga-enterprise
74+ path : xetbase- opencga-enterprise
6575 fetch-depth : " 10"
6676
6777 - name : Try to clone the private repo with token
0 commit comments