Skip to content

Commit

Permalink
ci: add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
malud committed Apr 15, 2024
1 parent 5ab3fdb commit acbd803
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/weekly-trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ jobs:
build:
name: Build
runs-on: ubuntu-22.04
permissions:
# required for all workflows
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
Expand Down

0 comments on commit acbd803

Please sign in to comment.