Skip to content

Commit 9cdf65b

Browse files
authored
pr-auditor: use new token (#219)
1 parent 796d7a9 commit 9cdf65b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/pr-auditor.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,20 @@ name: pr-auditor
33
on:
44
pull_request_target:
55
types: [ closed, edited, opened, synchronize, ready_for_review ]
6+
workflow_dispatch:
67

78
jobs:
89
check-pr:
910
runs-on: ubuntu-latest
1011
steps:
11-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1213
with:
1314
repository: 'sourcegraph/pr-auditor'
1415
- uses: actions/setup-go@v4
15-
with: { go-version: '1.20' }
16+
with: { go-version: '1.21' }
1617

1718
- run: './check-pr.sh'
1819
env:
1920
GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }}
20-
GITHUB_TOKEN: ${{ github.token }}
21+
GITHUB_TOKEN: ${{ secrets.PR_AUDITOR_TOKEN }}
2122
GITHUB_RUN_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 commit comments

Comments
 (0)