Skip to content

Commit e207fcd

Browse files
authored
workflows: update pr-auditor workflow (#199)
1 parent 17a111f commit e207fcd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/pr-auditor.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1+
# See https://docs.sourcegraph.com/dev/background-information/ci#pr-auditor
12
name: pr-auditor
23
on:
3-
pull_request:
4-
types: [ closed, edited, opened ]
4+
pull_request_target:
5+
types: [ closed, edited, opened, synchronize, ready_for_review ]
56

67
jobs:
7-
run:
8+
check-pr:
89
runs-on: ubuntu-latest
910
steps:
1011
- uses: actions/checkout@v2
1112
with: { repository: 'sourcegraph/sourcegraph' }
1213
- uses: actions/setup-go@v2
13-
with: { go-version: '1.17' }
14+
with: { go-version: '1.18' }
1415

1516
- run: ./dev/pr-auditor/check-pr.sh
1617
env:
1718
GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }}
1819
GITHUB_TOKEN: ${{ secrets.CODENOTIFY_GITHUB_TOKEN }}
19-
GITHUB_RUN_URL: https://github.com/sourcegraph/infrastructure/actions/runs/${{ github.run_id }}
20+
GITHUB_RUN_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 commit comments

Comments
 (0)