Skip to content

ci: least-privilege GITHUB_TOKEN permissions (code-scanning fixes) - #147

Merged
pdfinn merged 1 commit into
mainfrom
fix/codescan-alerts
Oct 5, 2026
Merged

pdfinn merged 1 commit into
mainfrom
fix/codescan-alerts

Conversation

@pdfinn

@pdfinn pdfinn commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Fixes open code-scanning alerts.

  • ci.yml, go.yml: top-level permissions: contents: read (build/test only).
  • security.yml and dependency-review.yml already had scoped permissions; unchanged (public repo, so the SARIF upload still works).

YAML validated with yaml.safe_load (actionlint isn't installed locally).

🤖 Generated with Claude Code

Resolve open code-scanning alerts (actions/missing-workflow-permissions
and related) by giving workflows an explicit least-privilege token.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@pdfinn
pdfinn merged commit 1d9756c into main Oct 5, 2026
7 checks passed
@pdfinn
pdfinn deleted the fix/codescan-alerts branch October 5, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant