Skip to content

Pin all unpinned actions in composite action files to SHAs#216

Merged
jon8787 merged 1 commit intomainfrom
jon-UID2-6937-pin-third-party-composite-actions
Apr 17, 2026
Merged

Pin all unpinned actions in composite action files to SHAs#216
jon8787 merged 1 commit intomainfrom
jon-UID2-6937-pin-third-party-composite-actions

Conversation

@jon8787
Copy link
Copy Markdown
Contributor

@jon8787 jon8787 commented Apr 17, 2026

Summary

  • Pins all remaining unpinned uses: refs in composite action files (actions/*/action.yaml)
  • 17 files, 38 replacements

Why

UID2-6913 PR #214 pinned third-party actions in workflow files (.github/workflows/) but missed composite action definitions under actions/. These composite actions are called by the workflows, so they carry the same supply chain risk.

Tracked in UID2-6937.

What's pinned

Third-party:

  • docker/setup-buildx-action@v3, docker/login-action@v3, docker/metadata-action@v5, docker/build-push-action@v5
  • google-github-actions/auth@v2, google-github-actions/setup-gcloud@v2
  • azure/login@v2 (5 files)
  • aws-actions/configure-aws-credentials@v4
  • EndBug/add-and-commit@v9, dotnet/nbgv@master
  • py-actions/py-dependency-install@v4
  • mikepenz/release-changelog-builder-action@v4, softprops/action-gh-release@v2
  • thetradedesk/git-restore-mtime-action@v1.3

GitHub-owned (also pinned while here):

  • actions/github-script@v7, actions/setup-java@v4, actions/checkout@v4, actions/setup-python@v5

Not in scope

Test plan

  • Verify SHAs match expected tags via git ls-remote
  • Confirm no remaining unpinned refs in actions/ directory

PR #214 pinned third-party actions in workflow files but missed
composite action definitions under actions/. This pins all remaining
unpinned uses: refs in those files — both third-party and GitHub-owned.

17 files, 38 replacements across:
- docker/* (setup-buildx, login, metadata, build-push)
- google-github-actions/* (auth, setup-gcloud)
- azure/login
- aws-actions/configure-aws-credentials
- EndBug/add-and-commit
- dotnet/nbgv
- py-actions/py-dependency-install
- mikepenz/release-changelog-builder-action
- softprops/action-gh-release
- thetradedesk/git-restore-mtime-action
- actions/github-script, actions/setup-java, actions/checkout,
  actions/setup-python

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jon8787 jon8787 merged commit 24f37a9 into main Apr 17, 2026
3 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.

2 participants