Repository navigation
ci: only pre-approve packages on CI - #2999
Merged
Merged
Conversation
Tommy Nguyen (tido64)
requested a review
from Jason Morse (JasonVMo)
as a code owner
November 2, 2026 12:02
Tommy Nguyen (tido64)
force-pushed
the
tido/ci-preapproved-packages
branch
2 times, most recently
from
November 2, 2026 12:07
f9cb56c to
51adab5
Compare
Tommy Nguyen (tido64)
force-pushed
the
tido/ci-preapproved-packages
branch
from
November 2, 2026 12:33
51adab5 to
8e59db4
Compare
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.
Description
Scheduled nightly builds fail because
metro-config@0.87.2(andob1) are quarantined bynpmMinimalAgeGate.Pre-approval is only needed when testing
react-native@nightlyor templates on CI, so this moves the list from.yarnrc.ymlto a workflow-levelYARN_NPM_PREAPPROVED_PACKAGESenv var inbuild.yml. Yarn splits array settings from env vars on commas. It also addsmetro,metro-*, andob1.Platforms affected
Test plan
Without the env var,
yarn config get npmPreapprovedPackagesreturns[]locally.