Skip to content

ci: harden GitHub Actions workflows - #14

Merged
mstuart merged 1 commit into
masterfrom
codex/actions-hardening
Aug 23, 2026
Merged

ci: harden GitHub Actions workflows#14
mstuart merged 1 commit into
masterfrom
codex/actions-hardening

Conversation

@mstuart

@mstuart mstuart commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • give the CI workflow explicit read-only repository contents permission
  • pin checkout and setup-node to the verified commits behind their existing v7 refs
  • retain v7 comments without upgrading action versions

Security impact

This removes reliance on repository-default token scopes and prevents external action tags from resolving to different code after review. Existing release and audit write permissions remain unchanged because those workflows require them.

Verification

  • parsed all workflow YAML files
  • verified every workflow has explicit permissions
  • verified all external action refs are full 40-character SHAs with retained version comments and no floating refs
  • npm run check
  • npm test
  • npm run build --if-present
  • npm pack --dry-run

@mstuart
mstuart merged commit e5bbac4 into master Aug 23, 2026
7 checks passed
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