Skip to content

Commit 6b56edf

Browse files
author
Vianpyro
committed
Add permissions for GitHub Actions to enhance security event reporting
1 parent 1cf2f14 commit 6b56edf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/scan-docker-images.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ jobs:
99
name: Scan Docker Images for Vulnerabilities
1010
runs-on: ubuntu-latest
1111

12+
permissions:
13+
actions: read
14+
contents: read
15+
# To report GitHub Actions status checks
16+
security-events: write
17+
1218
steps:
1319
- name: Checkout code
1420
uses: actions/checkout@v4

0 commit comments

Comments
 (0)