Skip to content

Add explicit permissions to CI workflow#193

Merged
bh2smith merged 3 commits into
mainfrom
chore/workflow-permissions
May 5, 2026
Merged

Add explicit permissions to CI workflow#193
bh2smith merged 3 commits into
mainfrom
chore/workflow-permissions

Conversation

@bh2smith
Copy link
Copy Markdown
Member

@bh2smith bh2smith commented May 5, 2026

Summary

  • Adds permissions: contents: read to the pull-request workflow, resolving 2 CodeQL code-scanning alerts (actions/missing-workflow-permissions)
  • Bumps actions/checkout v4 → v6 and astral-sh/setup-uv v6 → v7 to resolve Node.js 20 deprecation warnings ahead of the June 2nd forced migration to Node.js 24

Test plan

  • CI passes (validates both the permissions and updated actions work correctly)

Restricts GITHUB_TOKEN to read-only contents access, resolving
two CodeQL alerts for missing workflow permissions.
bh2smith added 2 commits May 5, 2026 18:24
- actions/checkout v4 → v6
- astral-sh/setup-uv v6 → v8

Resolves Node.js 20 deprecation warnings ahead of the June 2nd
forced migration to Node.js 24.
v8.x.x releases exist but no v8 major tag. v7 is the latest
major version tag and supports Node.js 24.
@bh2smith bh2smith merged commit 7056005 into main May 5, 2026
2 checks passed
@bh2smith bh2smith deleted the chore/workflow-permissions branch May 5, 2026 16:32
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.

2 participants