Skip to content

Comments

Add policy to auto-mention team when @meaghanlewis is referenced in issues#51734

Open
Copilot wants to merge 2 commits intomainfrom
copilot/add-issue-mention-policy
Open

Add policy to auto-mention team when @meaghanlewis is referenced in issues#51734
Copilot wants to merge 2 commits intomainfrom
copilot/add-issue-mention-policy

Conversation

Copy link
Contributor

Copilot AI commented Feb 13, 2026

Adds automated GitHub policy that mentions @gewarren, @cmastr, @BillWagner, and @adegeo when an issue is created containing @meaghanlewis.

Changes

  • New policy file: .github/policies/mention-meaghanlewis.yml
    • Triggers on issue creation
    • Pattern matches @meaghanlewis in issue body
    • Posts reply with CC mentions to specified team members
    • Uses GitOps.IssueManagement framework consistent with existing policies

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


Internal previews

📄 File 🔗 Preview link
.github/policies/mention-meaghanlewis.yml .github/policies/mention-meaghanlewis

…n issues

Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Copilot AI changed the title [WIP] Add policy to mention specific users on issue creation Add policy to auto-mention team when @meaghanlewis is referenced in issues Feb 13, 2026
Copilot AI requested a review from gewarren February 13, 2026 19:04
@gewarren gewarren marked this pull request as ready for review February 13, 2026 19:10
@gewarren gewarren requested a review from a team as a code owner February 13, 2026 19:10
Copilot AI review requested due to automatic review settings February 13, 2026 19:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new GitOps.IssueManagement policy that automatically notifies a set of team members when an issue is opened containing @meaghanlewis, helping ensure relevant folks are looped in quickly.

Changes:

  • Added an issue-opened event responder task that matches @meaghanlewis in the issue body.
  • Posts an automated reply CC’ing the specified team members.

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM @gewarren

I had one question where I was curious about the choice.

then:
- addReply:
reply: >-
CC @gewarren @cmastr @BillWagner @adegeo
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this mention @dotnet/docs? Or must it be individual IDs? Or, was it intentional to mention by id?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could mention @dotnet/docs. Let me know which you prefer.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a preference, I was just curious. Individual IDs might be better so it doesn't get filtered in inboxes as a team mention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants