From 12b8e239b95fc20980fd6c73ec0b45ffb3147aa9 Mon Sep 17 00:00:00 2001 From: William Bezuidenhout Date: Tue, 18 Jul 2023 15:56:18 +0200 Subject: [PATCH] "update pr-auditor workflow" (#1007) --- .github/workflows/pr-auditor.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-auditor.yml b/.github/workflows/pr-auditor.yml index 5c6ba2e0a4..bdc06f3bbf 100644 --- a/.github/workflows/pr-auditor.yml +++ b/.github/workflows/pr-auditor.yml @@ -9,12 +9,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - with: { repository: 'sourcegraph/sourcegraph' } - - uses: actions/setup-go@v2 - with: { go-version: '1.19' } + with: + repository: 'sourcegraph/pr-auditor' + - uses: actions/setup-go@v4 + with: { go-version: '1.20' } - - run: ./dev/pr-auditor/check-pr.sh + - run: './check-pr.sh' env: GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }} - GITHUB_TOKEN: ${{ secrets.CODENOTIFY_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} GITHUB_RUN_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}