Skip to content

Commit

Permalink
Problem: gosec fails to upload analysis results (#863)
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 980405c commit 7dfc588
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ on:
jobs:
Gosec:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: technote-space/get-diff-action@v3
with:
SUFFIX_FILTER: |
Expand Down

0 comments on commit 7dfc588

Please sign in to comment.