File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8585 env :
8686 COMMIT_SHA : ${{ inputs.commit_sha }}
8787 ENVIRONMENT_NAME : ${{ matrix.environment }}
88+ PR_NUMBER : ${{ inputs.pr_number }}
89+ # GH_TOKEN: ${{ github.token }}
8890 run : |
8991 set -euo pipefail
9092 # Define common variables
@@ -101,9 +103,9 @@ jobs:
101103 devtest_short_sha="devtest_${git_short_sha}"
102104
103105 # Get the PR Number tag
104- PR_NUM=$(gh api repos/${{ github.repository }}/commits/${{ github.sha }}/pulls --jq '.[0].number')
105- PR_NUM_TAG="pr${PR_NUM}"
106- DEVTEST_PR_NUM_TAG="devtest_${PR_NUM_TAG }"
106+ # PR_NUM=$(gh api repos/${{ github.repository }}/commits/${{ github.sha }}/pulls --jq '.[0].number')
107+ # PR_NUM_TAG="pr${PR_NUM}"
108+ DEVTEST_PR_NUM_TAG="devtest_${PR_NUMBER }"
107109
108110 # Prepare parameters as separate key=value tokens
109111 param_image="dockerImageTag=${DEVTEST_PR_NUM_TAG}"
You can’t perform that action at this time.
0 commit comments