Skip to content

Pin custom Github Actions to commit SHAs#43

Open
Eraz1997 wants to merge 1 commit intoanthropics:mainfrom
Eraz1997:main
Open

Pin custom Github Actions to commit SHAs#43
Eraz1997 wants to merge 1 commit intoanthropics:mainfrom
Eraz1997:main

Conversation

@Eraz1997
Copy link
Copy Markdown

@Eraz1997 Eraz1997 commented Oct 9, 2025

Summary

This PR pins references to custom Github Actions to commit SHAs instead of tags. This provides better security against supply-chain attacks and compliance with some customers' organisation settings.

Issues

Changes

  • Replace references to tags of custom Github Actions with commit SHAs inside the custom action, used by customers
  • Replace references inside this repo's CI jobs themselves

Benefits

  • Pinning to commit SHAs provides better security against supply-chain attacks, in case a malicious actor manages to inject unauthorised changes and make tags point to them, since Github tags are mutable
  • Some customers might be enforcing these organisation rules for compliance and security purposes. This Claude action currently doesn't comply with them, and thus is unusable.

This is a refactoring change with no functional impact on the action's behavior.

@Eraz1997
Copy link
Copy Markdown
Author

cc @petery-ant @ashwin-ant for a review 🙏

@elgordomac
Copy link
Copy Markdown

@petery-ant @ashwin-ant would be great to get this merged, we're having to disable claude-code-security-review until its dependencies are pinned

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.

5 participants