Skip to content

Commit 8c2e5d7

Browse files
authored
pr-auditor: use new token (#90)
1 parent e4e1f0d commit 8c2e5d7

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/pr-auditor.yml

Lines changed: 8 additions & 6 deletions
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@v2
12-
with: { repository: 'sourcegraph/sourcegraph' }
13-
- uses: actions/setup-go@v2
14-
with: { go-version: '1.18' }
12+
- uses: actions/checkout@v4
13+
with:
14+
repository: 'sourcegraph/pr-auditor'
15+
- uses: actions/setup-go@v4
16+
with: { go-version: '1.21' }
1517

16-
- run: ./dev/pr-auditor/check-pr.sh
18+
- run: './check-pr.sh'
1719
env:
1820
GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }}
19-
GITHUB_TOKEN: ${{ secrets.CODENOTIFY_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)