Skip to content

Remove duplicate @ prefix from issueAuthor in GitOps#12490

Merged
gewarren merged 1 commit intodotnet:mainfrom
akoeplinger:fix-issueauthor-mentions-20260406
Apr 6, 2026
Merged

Remove duplicate @ prefix from issueAuthor in GitOps#12490
gewarren merged 1 commit intodotnet:mainfrom
akoeplinger:fix-issueauthor-mentions-20260406

Conversation

@akoeplinger
Copy link
Copy Markdown
Member

Summary

https://github.com/GitOps-microsoft/GitOps.PullRequestIssueManagement/pull/262 (internal Microsoft link) changed the ${issueAuthor} placeholder to include the @ character.

Remove the one we added so we don't duplicate it.

https://github.com/GitOps-microsoft/GitOps.PullRequestIssueManagement/pull/262 (internal Microsoft link) changed the `${issueAuthor}` placeholder to include the `@` character.

Remove the one we added so we don't duplicate it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 6, 2026 18:38
@akoeplinger akoeplinger requested a review from a team as a code owner April 6, 2026 18:38
Copy link
Copy Markdown
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

Updates GitOps policy auto-replies to avoid duplicating the @ prefix now that the upstream ${issueAuthor} placeholder includes it, keeping notifications correctly formatted.

Changes:

  • Remove the hardcoded @ before ${issueAuthor} in the disallow-edits policy reply.
  • Remove the hardcoded @ before ${issueAuthor} in the needs-author-action notification reply.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/policies/disallow-edits.yml Adjusts the PR auto-reply to avoid @@user duplication when tagging the PR author.
.github/policies/author-action.yml Adjusts the issue auto-reply for needs-author-action to avoid @@user duplication when tagging the issue author.

@gewarren gewarren merged commit 9cdf84f into dotnet:main Apr 6, 2026
13 checks passed
@akoeplinger akoeplinger deleted the fix-issueauthor-mentions-20260406 branch April 7, 2026 13:39
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.

3 participants