ateam_github_promote
SHIP DEV TO PROD. Merges the dev branch into main and auto-tags the new main HEAD as safe-YYYY-MM-DD-NNN. Use after testing your dev work, when you're ready to deploy changes to production.
Workflow: 1) ateam_github_patch (writes to dev) → 2) ateam_github_promote (merges dev→main) → 3) ateam_build_and_run (deploys main).
Pass dry_run:true to see what's about to ship without merging.
ON 409 MERGE CONFLICT: main holds commits dev never received. Call ateam_github_sync_from_main(solution_id) to merge main into dev, then promote again. Only if THAT also returns 409 did both sides edit the same lines — that one needs a human (open a PR on GitHub).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional: human-readable label for the auto-tag (e.g., 'v2 stable', 'before refactor') | |
| dry_run | No | If true: show the diff (commits + files about to ship) without merging. Default: false. | |
| skip_tag | No | If true: merge without creating an auto-tag. Default: false (auto-tag enabled). | |
| solution_id | Yes | The solution ID |