Repository navigation
CI: Auto-label PRs with Migration, Validation, and Qualification for NPF tracking - #15375
Open
Ofer Inbar (oferInbar) wants to merge 3 commits into
Open
Ofer Inbar (oferInbar) wants to merge 3 commits into
Ofer Inbar (oferInbar) wants to merge 3 commits into
Conversation
…Qualification Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 54bad259-624b-40bd-bd29-3c611f7ab397
…o NPF PR labeler Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 54bad259-624b-40bd-bd29-3c611f7ab397
…ting Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 54bad259-624b-40bd-bd29-3c611f7ab397
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.
Best Practice Checklist
Check these items before submitting a PR... See the Contribution Guide for the full detail: https://github.com/Azure/Azure-Sentinel/wiki/Contribution-Guidelines
Description
Adds
.github/workflows/npf-pr-labeler.yamlto automatically apply the New Publishing Flow (NPF) tracking labels (Migration,Validation,Qualification, along withSolutionandXDR) on pull requests touchingSolutions/**:Migration(+Solution,XDR): Applied when a PR adds or updatesSolutions/<Solution>/(XDR Detections|XDR Workbooks)/**.Validation(+Solution): Applied when a PR includes NPF validation artifacts (Solutions/<Solution>/Evidence/pr-qualification/pr-qualification-result.json,workflow-state.json, ordecision-manifest.json).Qualification(+Solution): Applied when a PR includes live lab qualification receipts (Solutions/<Solution>/Evidence/qualification-evidence.json,receipts/alert-parity-live.json,receipts/workbook-queries-live.json,receipts/arm-deployment-readback.json, orreceipts/graph-detection-deployment.json).Uses
pull_request_targetwithpulls.listFiles(without checking out untrusted fork code) so fork PRs are labeled automatically and included in the weekly TCS PR Activity Report (PR_Activity_Report).Validation Evidence
python3 -c 'import yaml, sys; yaml.safe_load(open(sys.argv[1])); print("YAML valid")' .github/workflows/npf-pr-labeler.yaml— PassedMigration,Validation, andQualificationexist onAzure/Azure-Sentineland tested applying them on PR Azure DDoS Protection: add Defender XDR detections, workbook, and qualification evidence (3.2.2) #15349 (gh api repos/Azure/Azure-Sentinel/issues/15349/labels) — Passed