Skip to content

Pin third-party actions to commit SHAs - #13

Merged
lorisleiva merged 1 commit into
mainfrom
chore/pin-third-party-actions
Sep 14, 2026
Merged

lorisleiva merged 1 commit into
mainfrom
chore/pin-third-party-actions

Conversation

@lorisleiva

Copy link
Copy Markdown
Member

This PR pins the third-party actions used by the reusable workflows to commit SHAs and adds a github-actions Dependabot ecosystem so the pins do not rot.

Centralising the release job here also centralises its supply-chain posture: codama-idl/codama#1149 had SHA-pinned changesets/action and pnpm/action-setup in codama's inline release job, and the switch to the shared workflow (codama-idl/codama#1155) would silently replace those with mutable tags. Pinning here fixes that once for every calling repository.

  • pnpm/action-setup@ea17c68d… # v6.1.0 and changesets/action@ae32849d… # v2.1.2 in release.yml, cut.yml, promote.yml (SHAs verified against the tag objects; identical to what Dependabot already applied on codama main). changesets/action moves from 2.1.1 to 2.1.2, patch fixes only.
  • First-party actions/* stay on tags, same rule as #1149.
  • .github/dependabot.yml: weekly github-actions updates, 7-day cooldown, minor/patch grouped, majors separate (same configuration as codama).

Callers keep uses: …@v1 on purpose: the moving tag is this repository's distribution mechanism, governed by its own ruleset.

Centralising the release job here also centralises its supply-chain
posture: codama#1149 had pinned changesets/action and pnpm/action-setup
in its inline job, which the shared workflow replaced with mutable tags.
Pin them in every workflow (third-party only, actions/* stay on tags, as
in codama#1149) and add a github-actions Dependabot ecosystem so the pins
do not rot. changesets/action moves to v2.1.2 (patch fixes only).
@lorisleiva
lorisleiva merged commit 045e385 into main Sep 14, 2026
1 check passed
@lorisleiva
lorisleiva deleted the chore/pin-third-party-actions branch September 14, 2026 16:05
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