Skip to content

Commit

Permalink
ci(GitHub): fix permissions for Detekt sarif report uploading
Browse files Browse the repository at this point in the history
Signed-off-by: Artyom Shendrik <artyom.shendrik@gmail.com>
  • Loading branch information
amal committed Nov 17, 2023
1 parent 8193ca9 commit 98cbf32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ jobs:
timeout-minutes: 25
runs-on: 'macos-latest'
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
permissions: # The Dependency Submission API requires write permission
contents: write
permissions:
contents: read
security-events: write

steps:
- name: Harden Runner
Expand Down

0 comments on commit 98cbf32

Please sign in to comment.