Files
gohoarder/.github/workflows/pr.yaml
T
a8faa6061f 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]>
2026-12-03 12:22:46 +00:00

24 lines
369 B
YAML

name: Pull Request
on:
pull_request:
branches:
- main
push:
branches:
- "**"
- "!main"
permissions:
actions: read
contents: read
pull-requests: write
security-events: write
jobs:
pr-checks:
uses: lukaszraczylo/shared-actions/.github/workflows/go-pr.yaml@main
with:
go-version: ">=1.27"
runner: self-hosted