Skip to content

Commit

Permalink
update pr-auditor token to use secret instead (sourcegraph#4285)
Browse files Browse the repository at this point in the history
Co-authored-by: William Bezuidenhout <[email protected]>
  • Loading branch information
sourcegraph-release-bot and burmudar authored Dec 12, 2023
1 parent cce4c41 commit 242be7c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pr-auditor.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
# See https://docs.sourcegraph.com/dev/background-information/ci#pr-auditor
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@v3
- uses: actions/checkout@v4
with:
repository: 'sourcegraph/pr-auditor'
- uses: actions/setup-go@v4
with: { go-version: '1.20' }
with: { go-version: '1.21' }

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

0 comments on commit 242be7c

Please sign in to comment.