Skip to content

Commit

Permalink
ci(github): Fix permissions to upload SARIF results
Browse files Browse the repository at this point in the history
  • Loading branch information
sschuberth committed May 10, 2024
1 parent a1ac10a commit 6298797
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
run: ./gradlew checkCopyrightsInNoticeFile checkLicenseHeaders checkGitAttributes
detekt-issues:
runs-on: ubuntu-22.04
permissions:
security-events: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -79,6 +81,8 @@ jobs:
qodana-scan:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-22.04
permissions:
security-events: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 6298797

Please sign in to comment.