Board dev branch via PR
Merge
Topic Branchvia PR intoIntegration Branch
How-to Open PR to dev
Prerequisites:
- Your git HEAD is on the
Topic Branch
Tip
Adjust the instructions, using Inputs for Default and Integration Branches
-
INPUTDefault Branch (ie main)
-
INPUTIntegration Branch (ie dev)
- Define Default and Integration Branches (1)
export MAIN_BR=... export DEV_BR=... - Open PR to Integration Branch
git checkout ${DEV_BR} && git pull && git rebase ${MAIN_BR} && git push -f git checkout - && git rebase ${DEV_BR} git push -f && gh pr create --base ${DEV_BR} - Enable Auto Merge
gh pr merge --merge --auto
Congratulations !
Now the PR shall auto-merge once all Required Checks Pass !
Next Steps
Watch the PR Validation Workflow "live":
gh run watch