Repository navigation
feat(pr): squash + delete source branch by default, except from long-lived branches - #116
Merged
Merged
Conversation
…lived branches (#115) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Tc8S9f7xnyRyi7LzeHVtm
…ads/ in config (#115) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Tc8S9f7xnyRyi7LzeHVtm
…lp (#115) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Tc8S9f7xnyRyi7LzeHVtm
…n on malformed config (#115) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Tc8S9f7xnyRyi7LzeHVtm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #115
bdt pr createnow defaults to squash and delete source branch for PRs from a feature branch, but not for PRs whose source is a long-lived branch (promotionsdev->test->main, back-mergesmain->dev).bmsdna/devtools/pr_merge_defaults.py; the long-lived set (case-insensitive globs) defaults todev,develop,test,main,master,release/*and is configurable via[tool.bdt.pr].long_lived_branches(reuses the existing[tool.bdt.*]config lookup).dev/testafter a promotion would be destructive.squashfor--auto-complete(no per-PR delete-branch switch there), so no spurious "ignored" notes.--squash/--delete-source-branch(also--squash false) always win.skills/bmsdna-devtools/SKILL.mdupdated.No UI change, so no screenshots.
--delete-source-branch falsethere (documented).Claude Session: https://claude.ai/code/session_011Tc8S9f7xnyRyi7LzeHVtm