Skip to content

Commit 003d117

Browse files
committed
Use token with appropriate privileges
1 parent 24ccd8a commit 003d117

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/update-prerelease-reference.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,6 @@ jobs:
148148
- name: Trigger preview deployment
149149
if: steps.should-update.outputs.update == 'true'
150150
env:
151-
GH_TOKEN: ${{ github.token }}
151+
GH_TOKEN: ${{ secrets.ISSUE_COMMENT_TRIGGER_PAT }}
152152
run: |
153153
gh pr comment "${{ steps.create-pr.outputs.pr_url }}" --body "/deploy-preview"

0 commit comments

Comments
 (0)