Skip to content

Commit

Permalink
With reviewdog
Browse files Browse the repository at this point in the history
  • Loading branch information
that-jill committed May 24, 2024
1 parent 01c7cb2 commit 2f12ed5
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/bearer.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,28 @@
name: Bearer
name: Automated Code Reviews / Security Analysis

on: [pull_request]

permissions:
contents: read
pull-requests: write

jobs:
rule_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-setup@v1
with:
reviewdog_version: latest
- name: Bearer
uses: bearer/bearer-action@v2
with:
format: rdjson
output: rd.json
diff: true
- name: Run reviewdog
if: always()
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cat rd.json | reviewdog -f=rdjson -reporter=github-pr-check

0 comments on commit 2f12ed5

Please sign in to comment.