Skip to content

Conversation

@isaaceliape
Copy link
Owner

Add new tool to automate PR merging with automatic source branch cleanup.

Features

✨ Streamlined PR merge workflow:

  • Merge pull requests using multiple strategies (squash, merge, rebase)
  • Automatically delete source branch after successful merge
  • Support for force merge without confirmation
  • Dry-run mode for safe preview
  • Status check verification
  • Clear error handling and logging

Usage Examples

# Merge PR #35 using squash strategy and delete branch
./merge-pull-request.sh --pr 35

# Merge with rebase strategy
./merge-pull-request.sh -p 36 --strategy rebase

# Merge without deleting source branch
./merge-pull-request.sh --pr 37 --keep-branch

# Preview merge before applying
./merge-pull-request.sh --pr 38 --dry-run

Changes

  • ✅ Created tools/merge-pull-request.sh with full functionality
  • ✅ Updated tools/README.md with comprehensive documentation
  • ✅ Added Workflow 7 example for merge workflows
  • ✅ Updated Quick Reference table
  • ✅ Added merge strategy options (squash, merge, rebase)

@isaaceliape isaaceliape merged commit df7afbd into master Nov 25, 2025
2 checks passed
@isaaceliape isaaceliape deleted the tools/merge-pr-feature branch November 25, 2025 12:08
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