Skip to content

Pin actions/cache to a full-length commit SHA#232

Closed
illia-v wants to merge 1 commit into
pre-commit:mainfrom
illia-v:actions-cache-pin
Closed

Pin actions/cache to a full-length commit SHA#232
illia-v wants to merge 1 commit into
pre-commit:mainfrom
illia-v:actions-cache-pin

Conversation

@illia-v
Copy link
Copy Markdown

@illia-v illia-v commented Sep 19, 2025

GitHub repositories can enforce that all workflow actions are pinned to a full-length commit SHA. When the setting is enabled, GitHub will fail jobs using actions that aren't pinned, including actions used by other actions.
image

Can we please pin actions/cache to a SHA to allow pre-commit/action users enable the setting?

@asottile
Copy link
Copy Markdown
Member

please search for duplicates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants