Skip to content

Commit

Permalink
ci: Fix passing environment variable snapshot comment post (#5313)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis authored Dec 13, 2023
1 parent 239f92a commit 2bd348a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pr-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@ jobs:
role-to-assume: 'arn:aws:iam::${{ vars.ECR_ACCOUNT_ID }}:role/${{ vars.ECR_SNAPSHOT_ROLE_NAME }}'
aws-region: ${{ vars.ECR_REGION }}
- run: make snapshot
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
env:
GH_PR_NUMBER: ${{ env.PR_NUMBER }}
ECR_ACCOUNT_ID: ${{ vars.ECR_ACCOUNT_ID }}
ECR_REGION: ${{ vars.ECR_REGION }}
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
github.rest.issues.createComment({
Expand Down

0 comments on commit 2bd348a

Please sign in to comment.