Manage PRs
Follow Git rules. Work branches target dev. Promotion PRs go from dev to stg and from stg to main.
Actions
| Request | Read |
|---|---|
| Open a PR for the current branch | create.md |
| Review one or more PRs | review.md |
Promote dev → stg → main | promote.md |
| Tag and publish a release | release.md |
PR Rules
Title
- Write
type(scope): description, at most 70 characters. Use the types and scopes in Commits. - Squash merges use the title as the commit message.
- Title promotion PRs
chore: promote dev to stgorchore: release v<version>forstgtomain.
Body
- Fill
.github/pull_request_template.mdfrom the actual diff and commits. Never reuse old text. - Link related issues in Overview with
Closes #N. - Tick only checks that ran. Record failures and skipped checks in Notes.
- Fill Test Cases with actual results, including Maestro flows and the platforms they ran on. Remove the table when there are none.
- Remove empty sections and placeholders. Leave screenshots to the user when UI changed.
Merge
- Merge only when asked and after required checks pass.
- Squash merge work branches into
dev. Use merge commits for promotion and hotfix merge-back PRs (Merge and Version). - Never pass
--subject. GitHub titles the commit<PR title> (#<N>), which links it back to the PR. - Keep work branches. Delete them only when cleanup is requested. Never delete
dev,stg, ormain.
bashgh pr checks <N> --watch gh pr merge <N> --squash # work branches into dev gh pr merge <N> --merge # dev → stg, stg → main, hotfix merge-back


