From 322f03e1dfbadaf080c376a16640ace2f68bc010 Mon Sep 17 00:00:00 2001 From: Robert Lin Date: Tue, 5 Jul 2022 21:43:28 +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 abc68ec1..3fe42233 100644 --- a/.github/workflows/pr-auditor.yml +++ b/.github/workflows/pr-auditor.yml @@ -1,10 +1,11 @@ +# See https://docs.sourcegraph.com/dev/background-information/ci#pr-auditor name: pr-auditor on: - pull_request: - types: [ closed, edited, opened ] + pull_request_target: + types: [ closed, edited, opened, synchronize, ready_for_review ] jobs: - run: + check-pr: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -16,4 +17,4 @@ jobs: env: GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }} GITHUB_TOKEN: ${{ secrets.CODENOTIFY_GITHUB_TOKEN }} - GITHUB_RUN_URL: https://github.com/sourcegraph/infrastructure/actions/runs/${{ github.run_id }} + GITHUB_RUN_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}