diff --git a/.github/workflows/pr-auditor.yml b/.github/workflows/pr-auditor.yml index ecf7f55ab7..4a0fc2d708 100644 --- a/.github/workflows/pr-auditor.yml +++ b/.github/workflows/pr-auditor.yml @@ -3,7 +3,7 @@ name: pr-auditor on: pull_request_target: types: [ closed, edited, opened, synchronize, ready_for_review ] - workflow_dispatch: + jobs: check-pr: @@ -11,11 +11,12 @@ jobs: steps: - uses: actions/checkout@v4 with: - repository: 'sourcegraph/pr-auditor' + repository: 'sourcegraph/devx-service' + token: ${{ secrets.PR_AUDITOR_TOKEN }} - uses: actions/setup-go@v5 - with: { go-version: '1.22.5' } + 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 }}