pr-auditor: use pr-auditor from devx-service (#63847)

Updates PR-auditor to use the PR-auditor from the devx-service

## Test plan
Once merged, this
[PR](https://github.com/sourcegraph/sourcegraph/pull/63846) should fail
This commit is contained in:
William Bezuidenhout 2024-07-16 11:10:36 +02:00 committed by GitHub
parent 5a0d078fae
commit 07e59761d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,21 +1,21 @@
# See https://docs.sourcegraph.com/dev/background-information/ci#pr-auditor
name: pr-auditor
on:
pull_request_target:
types: [ closed, edited, opened, synchronize, ready_for_review ]
workflow_dispatch:
jobs:
check-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: 'sourcegraph/pr-auditor'
repository: 'sourcegraph/devx-service'
token: ${{ secrets.PR_AUDITOR_TOKEN }}
- uses: actions/setup-go@v4
with: { go-version: '1.22' }
- run: './check-pr.sh'
- run: 'go run ./cmd/pr-auditor'
env:
GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }}
GITHUB_TOKEN: ${{ secrets.PR_AUDITOR_TOKEN }}