Skip to content

Commit 6ab903f

Browse files
committed
Fix CI/CD: Add security-events permission for CodeQL SARIF upload
- Added security-events: write permission to security job - Added contents: read permission for checkout access - Fixes CodeQL Action SARIF upload failure - Updated Go version to 1.24 and improved gosec scanner setup
1 parent 6b5ca52 commit 6ab903f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ jobs:
6868
name: Security Scan
6969
runs-on: ubuntu-latest
7070
timeout-minutes: 10
71+
permissions:
72+
security-events: write
73+
contents: read
7174

7275
steps:
7376
- name: Checkout code

0 commit comments

Comments
 (0)