Skip to content

Add Copilot-Instructions label policy rule - #413350

Merged
Demitrius Nelon (denelon) merged 1 commit into
microsoft:masterfrom
denelon:add-copilot-instructions-label
Aug 6, 2026
Merged

Add Copilot-Instructions label policy rule#413350
Demitrius Nelon (denelon) merged 1 commit into
microsoft:masterfrom
denelon:add-copilot-instructions-label

Conversation

@denelon

@denelon Demitrius Nelon (denelon) commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

📖 Description

Adds a policy-bot rule to automatically apply a Copilot-Instructions label to pull requests that modify .github/copilot-instructions.md or any .github/instructions/*.instructions.md file, so reviewers get extra visibility when Copilot's guidance changes.

The rule triggers on PR Opened and Synchronize, matches files via regex, and is guarded with a
ot: hasLabel check so it won't re-fire once the label is already applied.

Created with GitHub Copilot's assistance.

✅ Checklist

Microsoft Reviewers: Open in CodeFlow

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@microsoft-github-policy-service microsoft-github-policy-service Bot added the Needs-Attention This work item needs to be reviewed by a member of the core team. label Aug 6, 2026
@denelon
Demitrius Nelon (denelon) marked this pull request as ready for review August 6, 2026 21:01
@microsoft-github-policy-service microsoft-github-policy-service Bot added the Moderator-Approved One of the Moderators has reviewed and approved this PR label Aug 6, 2026
@denelon
Demitrius Nelon (denelon) merged commit 03eb376 into microsoft:master Aug 6, 2026
3 checks passed
@microsoft-github-policy-service microsoft-github-policy-service Bot removed the Needs-Attention This work item needs to be reviewed by a member of the core team. label Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Moderator-Approved One of the Moderators has reviewed and approved this PR Project-File

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Copilot-Instructions label policy rule for PR visibility

4 participants