fix(security): bump Go toolchain to stable#8
Merged
Merged
Conversation
osv-scanner v2.3.5 requires Go ≥ 1.26.1. Pinning go-version to '1.23' failed with 'requires go >= 1.26.1 (running go 1.23.12; GOTOOLCHAIN=local)'. Switch to 'stable' which tracks the latest released Go.
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
3 tasks
WomB0ComB0
added a commit
that referenced
this pull request
May 4, 2026
github/codeql-action's init/analyze and upload-sarif each call
`GET /repos/{owner}/{repo}/actions/runs/{run_id}` for telemetry. The
workflow-level `permissions:` block grants `contents: read`,
`security-events: write`, `pull-requests: read` — but not
`actions: read`. Result: every PR run on every org caller emits
##[error]Resource not accessible by integration
at the telemetry call and fails the step. Verified against
resq-software/research PR #8 across multiple consecutive runs.
Add `actions: read` at the job level for codeql and zizmor (the two
jobs that surface the issue). `actions: read` is read-only and
grants no write capability beyond the existing inherited scopes.
Other jobs in this workflow (gitleaks, osv-scanner, dependency-review,
actionlint, semgrep, snyk) don't make the telemetry call and don't
need the scope; leaving their permissions inherited.
Co-authored-by: Mike Odnis <mikeodnis3242004@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
osv-scanner v2.3.5 requires Go ≥ 1.26.1; pinning 1.23 failed with
requires go >= 1.26.1 (running go 1.23.12; GOTOOLCHAIN=local).🤖 Generated with Claude Code