From 63c3f8737a68366dce01f0449ab76e1f300958a1 Mon Sep 17 00:00:00 2001 From: BolajiOlajide <25608335+BolajiOlajide@users.noreply.github.com> Date: Tue, 16 Jul 2024 09:35:44 +0000 Subject: [PATCH] workflows: update pr-auditor workflow --- .github/workflows/pr-auditor.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-auditor.yml b/.github/workflows/pr-auditor.yml index cdd92bfc..e3ad4d35 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@v4 - with: { go-version: '1.21' } + 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 }}