Skip to content

Remove duplicate @ prefix from issueAuthor in GitOps#11082

Open
akoeplinger wants to merge 1 commit intodotnet:mainfrom
akoeplinger:fix-issueauthor-mentions-20260406
Open

Remove duplicate @ prefix from issueAuthor in GitOps#11082
akoeplinger wants to merge 1 commit intodotnet:mainfrom
akoeplinger:fix-issueauthor-mentions-20260406

Conversation

@akoeplinger
Copy link
Copy Markdown
Member

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:27
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

This PR updates the GitOps.PullRequestIssueManagement policy configuration to avoid double-mentioning issue authors now that ${issueAuthor} includes the @ prefix upstream.

Changes:

  • Remove the hardcoded @ before ${issueAuthor} in the inactivity auto-close reply
  • Remove the hardcoded @ before ${issueAuthor} in the need-info label auto-reply

actions:
- addReply:
reply: Hi @${issueAuthor}. Due to inactivity, we will be closing this issue. Please feel free to re-open this issue if the issue persists. For enhanced visibility, if over 7 days have passed, please open a new issue and link this issue there. Thank you.
reply: Hi ${issueAuthor}. Due to inactivity, we will be closing this issue. Please feel free to re-open this issue if the issue persists. For enhanced visibility, if over 7 days have passed, please open a new issue and link this issue there. Thank you.
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

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

This edited line appears to have a different line ending (LF-only) compared to the rest of the file (CRLF shown on surrounding lines in this diff). Please normalize the file’s line endings to avoid mixed EOLs in the same YAML file.

Copilot uses AI. Check for mistakes.
then:
- addReply:
reply: Hi @${issueAuthor}. We have added the "need-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
reply: Hi ${issueAuthor}. We have added the "need-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

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

This edited line appears to have a different line ending (LF-only) compared to the rest of the file (CRLF shown on surrounding lines in this diff). Please normalize the file’s line endings to avoid mixed EOLs in the same YAML file.

Copilot uses AI. Check for mistakes.
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.

2 participants