Skip to content

Commit

Permalink
workflows: update pr-auditor workflow (#791)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi authored Jul 6, 2022
1 parent 237e58a commit 05e3f02
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/pr-auditor.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
# 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@v3
- uses: actions/checkout@v2
with: { repository: 'sourcegraph/sourcegraph' }
- uses: actions/setup-go@v3
- uses: actions/setup-go@v2
with: { go-version: '1.18' }

- run: ./dev/pr-auditor/check-pr.sh
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 }}

0 comments on commit 05e3f02

Please sign in to comment.