Skip to content

Commit

Permalink
Add write permissions for trivy (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
bschimke95 authored Jul 1, 2024
1 parent 36366fd commit e858e19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ jobs:
strategy:
matrix:
branch: [master]

permissions:
security-events: write
steps:
- name: Checking out repo
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@0.23.0
with:
scan-type: "fs"
ignore-unfixed: true
Expand Down

0 comments on commit e858e19

Please sign in to comment.