Skip to content

Commit b571894

Browse files
authored
Fix trivy permissions (#1703)
1 parent 2248618 commit b571894

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/trivy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
trivy:
3232
if: success() || failure() # Does not run on cancelled workflows
3333
runs-on: ubuntu-24.04
34+
permissions:
35+
contents: read
36+
security-events: write
37+
3438
steps:
3539
# Git Checkout
3640
- name: Checkout Code

0 commit comments

Comments
 (0)