Skip to content

Post dry-run PR comment only when TASKS.md changes, edit in place#21

Merged
jack-champagne merged 2 commits intomainfrom
copilot/add-pr-comment-summary-dry-run
Feb 8, 2026
Merged

Post dry-run PR comment only when TASKS.md changes, edit in place#21
jack-champagne merged 2 commits intomainfrom
copilot/add-pr-comment-summary-dry-run

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 8, 2026

The dry-run PR comment step fires on every PR and creates a new comment on each push. It should only comment when the tasks file is actually modified, and should update its existing comment rather than spamming duplicates.

  • Change detection: Gate commenting on gh pr diff --name-only | grep -qxF against the configured tasks file path
  • Edit-in-place: Replace gh pr comment --body with --edit-last --create-if-none so subsequent pushes update the same comment

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…place

Co-authored-by: jack-champagne <43344745+jack-champagne@users.noreply.github.com>
Copilot AI changed the title [WIP] Add PR comment summary for dry-run in CI Post dry-run PR comment only when TASKS.md changes, edit in place Feb 8, 2026
Copilot AI requested a review from jack-champagne February 8, 2026 07:34
@jack-champagne jack-champagne marked this pull request as ready for review February 8, 2026 07:51
@jack-champagne jack-champagne merged commit 6d7d773 into main Feb 8, 2026
1 check passed
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