ateam_github_promote
Merges the dev branch into main and creates an auto-tag, enabling deployment of tested changes to production. Use after verifying work on dev to promote to production.
Instructions
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 merge conflict the call returns 409 — resolve manually on GitHub (open a PR or use the web UI), then retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| solution_id | Yes | The solution ID | |
| 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). |