Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/policies/labelManagement.issueOpened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@ configuration:
action: Opened
then:
- addCodeFlowLink
- description: Add Copilot-Instructions label to PRs modifying Copilot instruction files
if:
- payloadType: Pull_Request
- or:
- isAction:
action: Opened
- isAction:
action: Synchronize
- filesMatchPattern:
pattern: ^\.github/(copilot-instructions\.md|instructions/.+\.instructions\.md)$
matchAny: true
- not:
hasLabel:
label: Copilot-Instructions
then:
- addLabel:
label: Copilot-Instructions
- description: Add Needs-Triage to new issues
if:
- payloadType: Issues
Expand Down