Skip to content

Commit

Permalink
workflows: update pr-auditor workflow (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
BolajiOlajide authored Jul 16, 2024
1 parent f17af31 commit d711d0e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pr-auditor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,20 @@ name: pr-auditor
on:
pull_request_target:
types: [ closed, edited, opened, synchronize, ready_for_review ]
workflow_dispatch:


jobs:
check-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: 'sourcegraph/pr-auditor'
repository: 'sourcegraph/devx-service'
token: ${{ secrets.PR_AUDITOR_TOKEN }}
- uses: actions/setup-go@v5
with: { go-version: '1.22.5' }
with: { go-version: '1.22' }

- run: './check-pr.sh'
- run: 'go run ./cmd/pr-auditor'
env:
GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }}
GITHUB_TOKEN: ${{ secrets.PR_AUDITOR_TOKEN }}
Expand Down

0 comments on commit d711d0e

Please sign in to comment.