Skip to content

feat: Auto-rebase open PRs when master is updated#983

Merged
mPokornyETM merged 1 commit intomasterfrom
feature/rebase-open-prs-on-master-push
Apr 1, 2026
Merged

feat: Auto-rebase open PRs when master is updated#983
mPokornyETM merged 1 commit intomasterfrom
feature/rebase-open-prs-on-master-push

Conversation

@mPokornyETM
Copy link
Copy Markdown
Contributor

Summary

Add a workflow that automatically keeps all open non-draft PRs up-to-date when master receives new commits.

Changes

  • New workflow
    ebase-open-prs.yml: Triggers on push to master
    • Dependabot PRs: Uses @dependabot rebase\ command (native Dependabot handling)
    • Other non-draft PRs: Uses \gh pr update-branch --rebase\
    • Draft PRs: Skipped
  • Simplified \dependabot-auto-merge.yml: Removed redundant update step (now handled by the new workflow)

Benefits

  • PRs stay up-to-date automatically, reducing manual rebase work
  • Fewer merge conflicts when PRs are ready to merge
  • Dependabot uses its native rebase mechanism for better handling

Add workflow to automatically keep open PRs up-to-date:
- Dependabot PRs: uses @dependabot rebase command
- Other non-draft PRs: uses gh pr update-branch --rebase
- Simplify dependabot-auto-merge.yml by removing redundant update step
@mPokornyETM mPokornyETM requested a review from a team as a code owner April 1, 2026 19:31
@mPokornyETM mPokornyETM merged commit 1ab8074 into master Apr 1, 2026
6 of 9 checks passed
@mPokornyETM mPokornyETM deleted the feature/rebase-open-prs-on-master-push branch April 1, 2026 19:37
@mPokornyETM mPokornyETM added the merged-without-review Auto-approve countdown label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance ci merged-without-review Auto-approve countdown

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant