chore: enable Dependabot weekly GitHub Actions bumps#2195
Open
hf-dependantbot-rollout[bot] wants to merge 1 commit into
Open
chore: enable Dependabot weekly GitHub Actions bumps#2195hf-dependantbot-rollout[bot] wants to merge 1 commit into
hf-dependantbot-rollout[bot] wants to merge 1 commit into
Conversation
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.
Summary
Adds
.github/dependabot.ymlso this repo's pinned GitHub Action SHAsget bumped automatically once a week.
All action updates are grouped into one weekly PR (not one PR per
action) to keep the noise down, and Dependabot waits 7 days after a
release before opening the bump (cooldown). The 7-day cooldown is
aligned with the org's pinact
min_age: 7policy — so by the timethe Dependabot PR lands, the SHA is already old enough for the security
gate to accept it. The bot opens the PR; the org-wide security gate
(pinact + denylist + deny-packages + osv-scan) runs on it; a human
merges.
Why
GitHub Action SHAs that were safe when pinned can drift out of date —
missing security patches, bug fixes, or new features. Dependabot keeps
them current. Combined with the org-wide validation workflow (which
blocks compromised SHAs from landing), the bumps are safe by
construction.
Closes huggingface/tracking-issues#578
Note
Low Risk
CI-only configuration with no runtime, auth, or application code changes; bumps still go through normal PR checks and org security gates.
Overview
Introduces Dependabot for the repo’s GitHub Actions dependencies via a new
.github/dependabot.yml.Updates run on a weekly schedule. All action bumps are grouped into a single PR (
patterns: ["*"]) instead of one PR per action. A 7-day cooldown after a release before Dependabot opens a bump, aligned with the org’s pinactmin_age: 7so proposed SHAs are more likely to pass the existing security gate on merge.Reviewed by Cursor Bugbot for commit 99f9680. Bugbot is set up for automated code reviews on this repo. Configure here.