Skip to content

Commit 0d101d5

Browse files
author
Sourcegraph
committed
workflows: update pr-auditor workflow
1 parent 9cdf65b commit 0d101d5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/pr-auditor.yml

+5-4
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:
6+
77

88
jobs:
99
check-pr:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
1313
with:
14-
repository: 'sourcegraph/pr-auditor'
14+
repository: 'sourcegraph/devx-service'
15+
token: ${{ secrets.PR_AUDITOR_TOKEN }}
1516
- uses: actions/setup-go@v4
16-
with: { go-version: '1.21' }
17+
with: { go-version: '1.22' }
1718

18-
- run: './check-pr.sh'
19+
- run: 'go run ./cmd/pr-auditor'
1920
env:
2021
GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }}
2122
GITHUB_TOKEN: ${{ secrets.PR_AUDITOR_TOKEN }}

0 commit comments

Comments
 (0)