Skip to content

Commit

Permalink
"update pr-auditor workflow" (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
burmudar authored Jul 18, 2023
1 parent 05e74c4 commit bcd4cda
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/pr-auditor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@
name: pr-auditor
on:
pull_request_target:
types: [closed, edited, opened, synchronize, ready_for_review]
types: [ closed, edited, opened, synchronize, ready_for_review ]

jobs:
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' }
- uses: actions/checkout@v3
with:
repository: 'sourcegraph/pr-auditor'
- uses: actions/setup-go@v4
with: { go-version: '1.20' }

- run: ./dev/pr-auditor/check-pr.sh
- run: './check-pr.sh'
env:
GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }}
GITHUB_TOKEN: ${{ secrets.CODENOTIFY_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
GITHUB_RUN_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 comments on commit bcd4cda

Please sign in to comment.