Skip to content

Commit

Permalink
ci: use PULUMI_BOT_TOKEN for command dispatch jobs (#1097)
Browse files Browse the repository at this point in the history
### Related issues (optional)

Fixes: #1096
  • Loading branch information
rquitales committed Mar 26, 2024
1 parent fc90daf commit 8e16403
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/command-dispatch.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Run Build
uses: peter-evans/slash-command-dispatch@v2
with:
token: ${{ secrets.EVENT_PAT }}
token: ${{ secrets.PULUMI_BOT_TOKEN }}
reaction-token: ${{ secrets.GITHUB_TOKEN }}
commands: run-acceptance-tests
permission: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-acceptance-tests.yml
Expand Up @@ -9,7 +9,7 @@ env:
ALT_AWS_SECRET_ACCESS_KEY: ${{ secrets.ALT_AWS_SECRET_ACCESS_KEY }}
ALT_AWS_PROFILE: ${{ secrets.ALT_AWS_PROFILE }}
AWS_REGION: us-west-2
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PROVIDER: eks
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Update with Result
uses: peter-evans/create-or-update-comment@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.PULUMI_BOT_TOKEN }}
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
issue-number: ${{ github.event.client_payload.github.payload.issue.number }}
body: |
Expand Down

0 comments on commit 8e16403

Please sign in to comment.