fix: osv permissions

This commit is contained in:
zhom committed 2025-06-03 15:33:45 +04:00
1 parent 4c4aa10d8c
commit 4c42099661
2 files changed
+2 -4

No files matched your search

+1 -2
View File
@@ -44,10 +44,9 @@ on:
- "nodecar/package-lock.json"
permissions:
# Require writing security events to upload SARIF file to security tab
security-events: write
# Read commit contents
contents: read
actions: read
jobs:
scan-scheduled:
+1 -2
View File
@@ -7,10 +7,9 @@ on:
branches: ["main"]
permissions:
# Required for OSV scanner to upload SARIF file to security tab
security-events: write
# Read commit contents
contents: read
actions: read
jobs:
lint-js: