Skip to content

chore: update action.yml to use full-length sha pinned action versions#29

Open
lhoupert wants to merge 1 commit intoPyCQA:mainfrom
lhoupert:patch-1
Open

chore: update action.yml to use full-length sha pinned action versions#29
lhoupert wants to merge 1 commit intoPyCQA:mainfrom
lhoupert:patch-1

Conversation

@lhoupert
Copy link
Copy Markdown

closes #28

@ericwb
Copy link
Copy Markdown
Member

ericwb commented Mar 28, 2026

Seems pinning to shas is not as safe as we all thought:
https://www.vaines.org/posts/2026-03-24-the-comforting-lie-of-sha-pinning/

@lhoupert
Copy link
Copy Markdown
Author

Good point! There is this fork SHA resolution issue, but SHA pinning is still better than tags. Worth noting that GitHub just published their 2026 Actions security roadmap here: https://github.blog/news-insights/product-news/whats-coming-to-our-github-actions-2026-security-roadmap/ . It introduces a dependencies: lockfile section for workflows (similar to go.sum) to address exactly this class of problem.

I think this PR is still a step in the right direction in the meantime :-)

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.

Action dependencies not pinned to full-length commit SHAs

2 participants