[Internal] Run pinact (lock versions in workflow files)#4275
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pinact found unpinned actions in this repo.
Need manual fix (pinact cannot resolve):
.github/workflows/model_card_consistency_reminder.yml:15—?→ list tags: GET https://api.github.com/repos/actions-cool/maintain-one-comment/tags?per_page=100: 403 Repository access blocked []
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
hanouticelina
approved these changes
May 27, 2026
Contributor
|
This PR has been shipped as part of the v1.17.0 release. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ran pinact locally to open this PR.
Should hopefully avoid these comments: #4254 (review)
EDIT: I've also updated
model_card_consistency_reminder.ymlto use https://github.com/marocchino/sticky-pull-request-comment instead of https://github.com/marketplace/actions/maintain-one-comment as plugin to handle the PR comment. The one we use seems to be disabled/archived on GH (see repo) so pinact can't check it. It's still on the marketplace but we don't know for how long. Best to use another one IMO (with 600+ stars, and seems fairly well maintained). In any case, it's not a much used workflow to if it's breaks it's not much of a problem.Note
Low Risk
Workflow-only pinning of action versions; no product code or secrets handling logic changes, though CI behavior could shift if a pinned action version differs subtly from what was previously resolved.
Overview
Pins third-party GitHub Actions across CI workflows to immutable commit SHAs, with human-readable version comments (via pinact). Workflows that previously used floating tags like
@v6now reference explicit digests—for exampleactions/checkout(v6.0.2),actions/setup-python(v6.2.0),actions/setup-node(v6.4.0),actions/create-github-app-token(v3.2.0),astral-sh/setup-uv(v7.6.0),peter-evans/create-pull-request(v8.1.1), andtrufflesecurity/trufflehog(v3.95.3instead of a genericmainlabel).Touched workflows include Python test/quality/prerelease flows, release, style-bot, HF CLI skill sync, inference types automation, repocard examples, and secret scanning. No runtime library or application source changes—only supply-chain hardening for how actions are resolved at workflow run time.
Reviewed by Cursor Bugbot for commit 3a68827. Bugbot is set up for automated code reviews on this repo. Configure here.