File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,13 +212,13 @@ jobs:
212212 run : |
213213 echo "inside pr_number=$PR_NUMBER"
214214 echo "Before pr_number=$PR_NUMBER"
215- PR ='${{ steps.pr.outputs.PR_NUMBER }}'
216- echo "USING PR =$PR "
215+ PR_NUMBER ='${{ steps.pr.outputs.PR_NUMBER }}'
216+ echo "USING PR_NUMBER =$PR_NUMBER "
217217
218- PR_API_URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/commits/${GITHUB_SHA}/pulls"
219- PR_NUMBER=$(curl -s -H "Accept: application/vnd.github.groot-preview+json" \
220- -H "Authorization: Bearer $GITHUB_TOKEN" \
221- $PR_API_URL | jq '.[0].number')
218+ # PR_API_URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/commits/${GITHUB_SHA}/pulls"
219+ # PR_NUMBER=$(curl -s -H "Accept: application/vnd.github.groot-preview+json" \
220+ # -H "Authorization: Bearer $GITHUB_TOKEN" \
221+ # $PR_API_URL | jq '.[0].number')
222222 echo "after pr_number=$PR_NUMBER"
223223
224224 aws s3 sync s3://$S3_BUCKET_NAME/mergeRequest/$PR_NUMBER s3://$S3_BUCKET_NAME/production/
You can’t perform that action at this time.
0 commit comments