Repository navigation
ci: limit npm APIScan to main and release branches - #1961
Closed
Dmitriy Vasyura (dmitrivMS) wants to merge 1 commit into
Closed
Dmitriy Vasyura (dmitrivMS) wants to merge 1 commit into
Dmitriy Vasyura (dmitrivMS) wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Dmitriy Vasyura (dmitrivMS)
requested a review
from Ladislau Szomoru (lszomoru)
November 27, 2026 12:15
Contributor
Author
|
Closing without merging: main already sets |
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.
The shared npm template excludes
Build.Reason == PullRequest, but a manually queued PR head has reasonManual. Set the supportedskipAPIScanoption on all seven package entries based onBuild.SourceBranch. Onlyrefs/heads/mainandrefs/heads/release/*remain eligible for APIScan; the template's existing PR guard still applies.Validation: evaluated the parsed YAML against 10 source-ref/reason combinations for each package, including manual PR head/merge, feature, main and release builds. All 70 checks passed. Compared the remaining YAML with
main: triggers, package validation and publishing settings are unchanged. No live Azure run was queued.npm run compilecould not start becausetscwas missing, and dependency restoration was blocked by npm registry authentication (E401).