Skip to content

Commit

Permalink
Problem: gosec fails to upload analysis results
Browse files Browse the repository at this point in the history
Solution: updated the gh action permissions
  • Loading branch information
tomtau committed Sep 23, 2022
1 parent 3e3d7ee commit 009c8d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
jobs:
Gosec:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
env:
GO111MODULE: on
steps:
Expand Down

0 comments on commit 009c8d3

Please sign in to comment.