Skip to content

CI: Auto-label PRs with Migration, Validation, and Qualification for NPF tracking - #15375

Open
Ofer Inbar (oferInbar) wants to merge 3 commits into
Azure:masterfrom
oferInbar:ci/npf-pr-labeler
Open

Ofer Inbar (oferInbar) wants to merge 3 commits into
Azure:masterfrom
oferInbar:ci/npf-pr-labeler

Conversation

@oferInbar

Copy link
Copy Markdown
Collaborator

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

  1. Make sure you are merging from a topic/feature/bugfix branch (right side) and not your master branch!
  2. Ensure that the PR resides in the appropriate folder structure in the repo.
  3. Ensure that any analytic rule is named properly and its metadata fills out properly.
  4. Provide a meaningful title for the PR.
  5. Reference any relevant Issue(s) in the description section below.
  6. Provide a description of the changes made in the PR and attach any applicable screenshots and validation results.

Description

Adds .github/workflows/npf-pr-labeler.yaml to automatically apply the New Publishing Flow (NPF) tracking labels (Migration, Validation, Qualification, along with Solution and XDR) on pull requests touching Solutions/**:

  • Migration (+ Solution, XDR): Applied when a PR adds or updates Solutions/<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, or decision-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, or receipts/graph-detection-deployment.json).

Uses pull_request_target with pulls.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

…Qualification

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 54bad259-624b-40bd-bd29-3c611f7ab397
@oferInbar
Ofer Inbar (oferInbar) requested a review from a team as a code owner October 21, 2026 05:32
…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
@v-atulyadav v-atulyadav self-assigned this Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants