Skip to content

Commit dc33150

Browse files
authored
pr-auditor: use new token (#69)
1 parent d468d07 commit dc33150

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/pr-auditor.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -3,18 +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' }
17+
1618
- run: './check-pr.sh'
1719
env:
1820
GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }}
19-
GITHUB_TOKEN: ${{ github.token }}
21+
GITHUB_TOKEN: ${{ secrets.PR_AUDITOR_TOKEN }}
2022
GITHUB_RUN_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 commit comments

Comments
 (0)