mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
workflows: update pr-auditor workflow (#37367)
This commit is contained in:
parent
7b33210353
commit
7e4e8c4370
29
.github/workflows/pr-auditor.yml
vendored
29
.github/workflows/pr-auditor.yml
vendored
@ -1,19 +1,20 @@
|
||||
# See dev/pr-auditor/README.md
|
||||
# See https://docs.sourcegraph.com/dev/background-information/ci#pr-auditor
|
||||
name: pr-auditor
|
||||
on:
|
||||
pull_request:
|
||||
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 }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user