Skip to content

Commit 4c8ca65

Browse files
authored
workflows: update pr-auditor workflow (#154)
* workflows: update pr-auditor workflow * Update pr-auditor.yml
1 parent 5c54365 commit 4c8ca65

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/pr-auditor.yml

+7-6
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:
10-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v2
1112
with: { repository: 'sourcegraph/sourcegraph' }
12-
- uses: actions/setup-go@v3
13+
- uses: actions/setup-go@v2
1314
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)