Skip to content

drift-check.yml: retitle the refresh PR when its count changes - #12

Merged
mmcky merged 1 commit into
mainfrom
drift-refresh-title
Sep 7, 2026
Merged

drift-check.yml: retitle the refresh PR when its count changes#12
mmcky merged 1 commit into
mainfrom
drift-refresh-title

Conversation

@mmcky

@mmcky mmcky commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Seen on the first live runs (project-monorepo#8 demo): the refresh PR's body updated to 15 lectures re-copied while its title still said 14, because the update path edited only the body. The title now follows the count.

🤖 Generated with Claude Code

The first live runs showed the body updating to 15 lectures while the
title still said 14: the update path edited only the body.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 7, 2026 04:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change is small, targeted, and makes the update path consistent with the create path for refresh PR titles.

Pull request overview

This PR fixes a mismatch in the “drift/refresh” automation by ensuring the existing refresh PR’s title is updated whenever the refresh count ($n) changes, keeping it consistent with the PR body and the create path.

Changes:

  • Update the “existing PR” path to edit both the PR title and body.
  • Keep the refresh PR title format consistent between gh pr edit and gh pr create.
File summaries
File Description
.github/workflows/drift-check.yml Updates the existing refresh PR’s title during edits so it stays aligned with the computed lecture count.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mmcky
mmcky merged commit a76aa91 into main Sep 7, 2026
3 checks passed
@mmcky
mmcky deleted the drift-refresh-title branch September 7, 2026 05:15
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