Skip to content

Commit f56ad17

Browse files
authored
Use the ACCESS_TOKEN secret instead of GITHUB_TOKEN (#3394)
1 parent 7c1f2f5 commit f56ad17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/issue_automations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
EVENT_NAME: ${{ github.event_name }}
2929
EVENT_ACTION: ${{ github.event.action }}
3030
with:
31-
github-token: ${{ secrets.GITHUB_TOKEN }}
31+
github-token: ${{ secrets.ACCESS_TOKEN }}
3232
script: |
3333
const { main } = await import('${{ github.workspace }}/automations/js/src/project_automation/issues.mjs')
3434
await main(github, context)

.github/workflows/pr_automations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: Perform PR automations
6969
uses: actions/github-script@v7
7070
with:
71-
github-token: ${{ secrets.GITHUB_TOKEN }}
71+
github-token: ${{ secrets.ACCESS_TOKEN }}
7272
script: |
7373
const { main } = await import('${{ github.workspace }}/automations/js/src/project_automation/prs.mjs')
7474
await main(github)

0 commit comments

Comments
 (0)