Skip to content

Commit 13b1f97

Browse files
Add debug token file #TASK-8067
1 parent 6196451 commit 13b1f97

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/debug-token.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,18 @@ jobs:
5353
REPO_URI="https://$ZETTA_REPO_ACCESS_TOKEN@github.com/zetta-genomics/opencga-enterprise.git"
5454
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:

0 commit comments

Comments
 (0)