Skip to content

ci: pin GitHub Actions to commit SHAs (6)#663

Closed
mirkosalvato1-ctrl wants to merge 1 commit into
causalens:masterfrom
mirkosalvato1-ctrl:pinguard/pin-actions-34987
Closed

ci: pin GitHub Actions to commit SHAs (6)#663
mirkosalvato1-ctrl wants to merge 1 commit into
causalens:masterfrom
mirkosalvato1-ctrl:pinguard/pin-actions-34987

Conversation

@mirkosalvato1-ctrl

Copy link
Copy Markdown

Why

Mutable Action tags (@v4, @main) can be retagged, which is a supply-chain risk.
This PR pins third-party Actions to full commit SHAs while keeping the tag in a comment.
Official actions/* tags are left unchanged (common maintainer preference).

Pins

  • pnpm/action-setup@v4 -> b906affcce14
  • softprops/action-gh-release@v2 -> 3bb12739c298
  • pnpm/action-setup@v4 -> b906affcce14
  • pnpm/action-setup@v4 -> b906affcce14
  • pnpm/action-setup@v4 -> b906affcce14
  • pnpm/action-setup@v4 -> b906affcce14

Reference: GitHub docs on using third-party actions securely.

@krzysztof-causalens

Copy link
Copy Markdown
Collaborator

Hey, thanks for the contribution!
I'll probably do this exercise myself soon and close this PR since you've got conflicts anyway and I'm doing some work on the CI separately.

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