File tree Expand file tree Collapse file tree
packaging_automation/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 private-key : ${{ secrets.GH_APP_KEY }}
4141 owner : ${{ github.repository_owner }}
4242
43+ - name : Check token format
44+ run : |
45+ TOKEN="${{ steps.app.outputs.token }}"
46+ if [[ "$TOKEN" == eyJ* ]]; then
47+ echo "TOKEN FORMAT: appears to be a JWT (app-level token)."
48+ else
49+ echo "TOKEN FORMAT: not a JWT (installation token or PAT)."
50+ fi
51+
4352 - name : Set GH_TOKEN for all steps
4453 run : echo "GH_TOKEN=${{ steps.app.outputs.token }}" >> $GITHUB_ENV
4554
Original file line number Diff line number Diff line change @@ -87,7 +87,8 @@ def setup_module():
8787 )
8888 if not os .path .exists (PACKAGING_EXEC_FOLDER ):
8989 run (
90- f"git clone --branch { packaging_branch_name } https://x-access-token:{ GH_TOKEN } @github.com/citusdata/packaging.git { PACKAGING_EXEC_FOLDER } "
90+ f"git clone --branch { packaging_branch_name } https://x-access-token:{ GH_TOKEN } @github.com/citusdata/packaging.git "
91+ f"{ PACKAGING_EXEC_FOLDER } "
9192 )
9293
9394
You can’t perform that action at this time.
0 commit comments