Skip to content

feat: comment on original PR after cherry-pick PR is created#24243

Merged
f0ssel merged 1 commit intomainfrom
cherry-pick-comment-on-pr
Apr 10, 2026
Merged

feat: comment on original PR after cherry-pick PR is created#24243
f0ssel merged 1 commit intomainfrom
cherry-pick-comment-on-pr

Conversation

@f0ssel
Copy link
Copy Markdown
Member

@f0ssel f0ssel commented Apr 10, 2026

After the cherry-pick workflow creates a backport PR, it now comments on the original PR to notify the author with a link to the new PR.

If the cherry-pick had conflicts, the comment includes a warning.

Changes

  • Capture the URL output of gh pr create into NEW_PR_URL
  • Add gh pr comment on the original PR with the link
  • Append a conflict warning to the comment when applicable

Generated by Coder Agents

Copy link
Copy Markdown
Member

@matifali matifali left a comment

Choose a reason for hiding this comment

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

LGTM.

@f0ssel f0ssel merged commit e0fbb0e into main Apr 10, 2026
26 checks passed
@f0ssel f0ssel deleted the cherry-pick-comment-on-pr branch April 10, 2026 15:21
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants