Skip to content

Commit

Permalink
Update bearer_pr_check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cfabianski authored Aug 2, 2023
1 parent cc9c20b commit 024ef79
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/bearer_pr_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:

permissions:
contents: read
# Add the pull-requests permission
pull-requests: write

jobs:
rule_check:
Expand All @@ -19,11 +21,13 @@ jobs:
with:
format: rdjson
output: rd.json
# uncomment for Diff Scan
# diff: true
- uses: reviewdog/action-setup@v1
with:
reviewdog_version: latest
- name: Run reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cat rd.json | reviewdog -f=rdjson -reporter=github-pr-review

0 comments on commit 024ef79

Please sign in to comment.