Fix CodeSQL permissions take 2 (#413)
Some checks are pending
CodeQL / Analyze (go) (push) Waiting to run
Test / test-linux (1.24.x) (push) Waiting to run
Test / test-linux-tpm12 (1.24.x) (push) Waiting to run
Test / test-macos (1.24.x) (push) Waiting to run
Test / test-windows (1.24.x) (push) Waiting to run

This commit is contained in:
Brandon Weeks 2025-03-05 12:25:46 -08:00 committed by GitHub
parent 7d4525c388
commit c5d6b1e758
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,9 @@
name: "CodeQL"
permissions:
contents: read
security-events: write
on:
push:
branches: [master]

View File

@ -3,10 +3,6 @@ on:
branches: [master]
pull_request:
permissions:
contents: read
security-events: write
# Workaround for SHA1 on Go 1.18. There are some kinks to be worked out. See
# the tracking issue for more info: https://github.com/golang/go/issues/41682
env: