Skip to content

Commit bcd4cda

Browse files
authored
"update pr-auditor workflow" (#273)
1 parent 05e74c4 commit bcd4cda

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Diff for: .github/workflows/pr-auditor.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@
22
name: pr-auditor
33
on:
44
pull_request_target:
5-
types: [closed, edited, opened, synchronize, ready_for_review]
5+
types: [ closed, edited, opened, synchronize, ready_for_review ]
66

77
jobs:
88
check-pr:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
with: { repository: 'sourcegraph/sourcegraph' }
13-
- uses: actions/setup-go@v2
14-
with: { go-version: '1.18' }
11+
- uses: actions/checkout@v3
12+
with:
13+
repository: 'sourcegraph/pr-auditor'
14+
- uses: actions/setup-go@v4
15+
with: { go-version: '1.20' }
1516

16-
- run: ./dev/pr-auditor/check-pr.sh
17+
- run: './check-pr.sh'
1718
env:
1819
GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }}
19-
GITHUB_TOKEN: ${{ secrets.CODENOTIFY_GITHUB_TOKEN }}
20+
GITHUB_TOKEN: ${{ github.token }}
2021
GITHUB_RUN_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 commit comments

Comments
 (0)