chore: allow actions-toolkit to bypass yarn age gate#314
Merged
crazy-max merged 1 commit intoJul 1, 2026
Conversation
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
thaJeztah
reviewed
Jul 1, 2026
Comment on lines
+17
to
+18
| npmPreapprovedPackages: | ||
| - "@docker/actions-toolkit" |
Member
There was a problem hiding this comment.
Would it make sense to have a comment here to describe the motivation, or do you think git blame is enough?
Member
Author
There was a problem hiding this comment.
git blame looks enough to me, specially since we have the same exclusion in dependabot conf
setup-qemu-action/.github/dependabot.yml
Lines 22 to 23 in 451542b
This was referenced Jul 1, 2026
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.
relates to https://github.com/docker/setup-qemu-action/actions/runs/28505028156/job/84491274379#step:3:993
This change lets
@docker/actions-toolkitbypass Yarn'snpmMinimalAgeGatewhile keeping the two-day age gate for all other npm packages.The Yarn config now lists
@docker/actions-toolkitundernpmPreapprovedPackages, which tells Yarn to exempt that package from the minimum release age check: https://yarnpkg.com/configuration/yarnrc#npmPreapprovedPackagesDependabot already excludes this internal package from its cooldown, but Yarn still quarantined fresh releases during resolution. Preapproving only this package keeps the broader supply-chain delay intact without blocking internal toolkit updates.