Skip to content

Commit

Permalink
workflows: update pr-auditor workflow (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi committed Jul 6, 2022
1 parent 88b14f1 commit 6e143a5
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/pr-auditor.yml
@@ -1,18 +1,20 @@
# See https://docs.sourcegraph.com/dev/background-information/ci#pr-auditor
name: pr-auditor
on:
pull_request:
pull_request_target:
types: [ closed, edited, opened, synchronize, ready_for_review ]

jobs:
pr-auditor:
runs-on: ubuntu-latest
name: pr-auditor
steps:
- uses: actions/checkout@v2
with: { repository: 'sourcegraph/sourcegraph' }
- 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/${{ github.repository }}/actions/runs/${{ github.run_id }}
check-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with: { repository: 'sourcegraph/sourcegraph' }
- 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/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 comments on commit 6e143a5

Please sign in to comment.