mirror of
https://github.com/Xevion/rdap.git
synced 2025-12-06 15:16:07 -06:00
fix: add security-events permission to CI workflow for SARIF uploads
Adds security-events: write permission to the CI workflow to allow the Security Scan job to upload Trivy SARIF results to GitHub Code Scanning. This resolves the "Resource not accessible by integration" error.
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -6,6 +6,10 @@ on:
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
env:
|
||||
NODE_VERSION: "20"
|
||||
PNPM_VERSION: "9.0.0"
|
||||
|
||||
Reference in New Issue
Block a user