Skip to content

[Internal] Run pinact (lock versions in workflow files)#4275

Merged
Wauplin merged 2 commits into
mainfrom
run-pinact
May 27, 2026
Merged

[Internal] Run pinact (lock versions in workflow files)#4275
Wauplin merged 2 commits into
mainfrom
run-pinact

Conversation

@Wauplin

@Wauplin Wauplin commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Ran pinact locally to open this PR.

Should hopefully avoid these comments: #4254 (review)

EDIT: I've also updated model_card_consistency_reminder.yml to 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 @v6 now reference explicit digests—for example actions/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), and trufflesecurity/trufflehog (v3.95.3 instead of a generic main label).

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.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pinact found unpinned actions in this repo.

Need manual fix (pinact cannot resolve):

@bot-ci-comment

Copy link
Copy Markdown

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.

@Wauplin Wauplin merged commit 91be5c4 into main May 27, 2026
22 of 26 checks passed
@Wauplin Wauplin deleted the run-pinact branch May 27, 2026 08:58
@huggingface-hub-bot

Copy link
Copy Markdown
Contributor

This PR has been shipped as part of the v1.17.0 release.

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.

2 participants