ci(pr): grant actions read so the shared PR checks start (#242)

* ci(pr): grant actions read so the shared PR checks start

go-pr.yaml's CodeQL job asks for actions: read. A reusable workflow cannot ask
for more than its caller grants, so the whole PR run failed at startup with no
jobs. Grant the missing scope.

* fix(deps): bump gorilla/websocket past GO-2026-6278

govulncheck reports the weak WebSocket mask-key PRNG in v1.5.3; the fix is
v1.5.4-0.20240701034025-d67f41855da4.

* test(scanner): drop the unused resultStore.saved helper

staticcheck U1000: the tests read store.savedResults directly, so the helper
has no callers.

---------

Co-authored-by: Bug Fixer <[email protected]>
This commit is contained in:
2026-12-03 12:22:46 +00:00
committed by GitHub
co-authored by Bug Fixer
parent 3cb6b6489e
commit a8faa6061f
4 changed files with 4 additions and 7 deletions
+1
View File
@@ -10,6 +10,7 @@ on:
- "!main"
permissions:
actions: read
contents: read
pull-requests: write
security-events: write