-
Notifications
You must be signed in to change notification settings - Fork 5.4k
github: update codespell action to v2.1 in workflow #4205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting
.github/workflows/codespell.yml
Outdated
- name: Codespell | ||
uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2 | ||
uses: codespell-project/actions-codespell@v2.1 # v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep codespell action pinned to immutable commit
This step previously used the full commit SHA for codespell-project/actions-codespell
, which protects the workflow from supply-chain tampering and guarantees reproducible runs. Swapping it to the mutable tag @v2.1
means any future retag or force-push to that tag will silently alter the action’s behavior for every run. To maintain the same security posture as before, the reference should stay pinned to the release’s commit hash (the SHA corresponding to v2.1) rather than a floating tag.
Useful? React with 👍 / 👎.
.github/workflows/codespell.yml
Outdated
uses: codespell-project/codespell-problem-matcher@b80729f885d32f78a716c2f107b4db1025001c42 # v1 | ||
- name: Codespell | ||
uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2 | ||
uses: codespell-project/actions-codespell@v2.1 # v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uses: codespell-project/actions-codespell@v2.1 # v2 | |
uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2.1 |
Old version fails to find python 3.8 docker image