ci: add actions read permission to OSV-Scanner workflow

Grant necessary read access to actions to ensure the vulnerability scanner can evaluate the execution environment.
This commit is contained in:
Nils Andreas Svee committed 2026-05-11 15:01:05 +07:00
1 parent c04e8f7084
commit e2a9d68843
1 file changed
+2 -1
+2 -1
View File
@@ -17,7 +17,7 @@ on:
merge_group:
branches: ["main"]
schedule:
- cron: '45 8 * * 1'
- cron: "45 8 * * 1"
push:
branches: ["main"]
@@ -26,6 +26,7 @@ permissions:
security-events: write
# Read commit contents
contents: read
actions: read
jobs:
scan-scheduled: