Skip to content

Commit

Permalink
ci: add reviewdog REVIEWDOG_GITHUB_API_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-Ritter committed Jan 29, 2024
1 parent 5238f7f commit d423143
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,6 @@ jobs:
# Process Sarif Report file from Detekt with reviewdog cli
- name: Run reviewdog
if: success() || failure()
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: reviewdog -f=sarif -diff="git diff" -name="detekt" -reporter=github-check < build/reports/detekt/merge.sarif.json
2 changes: 2 additions & 0 deletions .github/workflows/mobsf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,7 @@ jobs:

# Process Sarif Report file from MobSF with reviewdog cli
- name: Run reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: success() || failure()
run: reviewdog -f=sarif -diff="git diff" -name="mobsf" -reporter=github-check < mobsf.sarif.json

0 comments on commit d423143

Please sign in to comment.