Skip to content

chore: Pin official GitHub Actions to full commit hashes - #342

Merged
masutaka merged 1 commit into
mainfrom
pin-official-actions-to-commit-hash
Aug 8, 2026
Merged

masutaka merged 1 commit into
mainfrom
pin-official-actions-to-commit-hash

Conversation

@masutaka

@masutaka masutaka commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Why

Official Actions (actions/*, github/*) have been pinned by major version tag so far, on the assumption that GitHub-managed Actions carry a low supply chain risk.

Version tags are mutable, though, so a tag can be repointed at different code without the reference here changing. To reduce that risk, official Actions are now pinned to a full commit hash, the same as third-party ones.

Notes

  • The pinning itself was done by pinact run, after dropping the actions/.* and github/.* entries from ignore_actions in .pinact.yaml.
  • .github/dependabot.yml is left unchanged. Actions are used only under .github/workflows (no composite actions), so the existing directory: "/" already covers every usage.

@masutaka
masutaka marked this pull request as ready for review August 8, 2026 04:15
@masutaka
masutaka merged commit 2479776 into main Aug 8, 2026
8 checks passed
@masutaka
masutaka deleted the pin-official-actions-to-commit-hash branch August 8, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant