Branch strategy
- One unique, date-stamped branch per run:
mend-fix-<YYYYMMDD-HHMMSS>(e.g.mend-fix-$(date +%Y%m%d-%H%M%S)), branched off the target'sintegration_branch(develop/master). - No component name / dots in the branch — names like
a.blazemeter.comcontain dots (not Docker-tag-safe), and each component is its own repo, so the timestamp alone is unique. Never reuse a prior run's branch. - Optionally close any prior open
mend-fix-*PR in the repo with a "superseded by newer run" comment.
Commit & push
- Commit with the
Co-Authored-Byattribution trailer (a global hook enforces it). - Push via
gh— authenticated and SSO-authorized for theBlazemeterorg (a raw PAT 403s unless SSO-authorized). Auth =GH_TOKENin the environment.
Pull request
- Open the PR from
<branch>into theintegration_branch. - No GitHub reviewer is set — ownership is tracked via the Jira assignee, not a GH reviewer.
- Tag the PR title with the tracking ticket id (prepended, HEAD), e.g.
MOB-51396: mend: bump guzzle 7.4 → 7.8. If the caller's flow creates the ticket before opening the PR (e.g. mend-blz), include the id in the title at creation — never open untitled and tag after. Only fall back to tagging the title after the fact if the calling flow's order genuinely creates the ticket after the PR.