Skip to content

Fix schedule handler creating duplicate PRs across branches#2309

Merged
hiroshinishio merged 1 commit intomainfrom
wes
Feb 23, 2026
Merged

Fix schedule handler creating duplicate PRs across branches#2309
hiroshinishio merged 1 commit intomainfrom
wes

Conversation

@hiroshinishio
Copy link
Collaborator

Summary

  • Remove target_branch filter from get_open_pull_requests so the schedule handler checks ALL open GitAuto PRs for dedup, not just those targeting the current branch
  • This prevents duplicate PRs when a file already has an open PR on a different branch (e.g. release/20260311 vs master)
  • Improve skip logging to include the matching PR number and base branch for easier debugging

Remove target_branch filter from get_open_pull_requests so the schedule
handler checks ALL open GitAuto PRs for dedup, not just those targeting
the current branch. This prevents duplicate PRs when a file already has
an open PR on a different branch (e.g. release/20260311 vs master).

Also improve skip logging to include the matching PR number and base branch.
@hiroshinishio hiroshinishio self-assigned this Feb 23, 2026
@hiroshinishio hiroshinishio merged commit e61c15a into main Feb 23, 2026
1 check passed
@hiroshinishio hiroshinishio deleted the wes branch February 23, 2026 00:30
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.

1 participant