Skip to content

Commit 444b80c

Browse files
committed
NO-JIRA: fix notify-team-to-review-pr.yml by using GH_ACCESS_TOKEN to resolve 403 error
1 parent a9606b3 commit 444b80c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/notify-team-to-review-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
- name: Add review-requested label
1818
uses: actions/github-script@v7
1919
with:
20+
# the regular `secrets.GITHUB_TOKEN` results in a 403 error
21+
# HttpError: Resource not accessible by integration
22+
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
2023
# language=javascript
2124
script: |
2225
await github.rest.issues.addLabels({

0 commit comments

Comments
 (0)