docs: remove invalid `--yes` flag from `coder template version promote` by nickvigilante · Pull Request #28084 · coder/coder · GitHub
Skip to content

docs: remove invalid --yes flag from coder template version promote - #28084

Merged
nickvigilante merged 1 commit into
mainfrom
vigilante/docs-640-docs-remove-invalid-yes-flag-from-coder-template-version
Aug 14, 2026
Merged

docs: remove invalid --yes flag from coder template version promote#28084
nickvigilante merged 1 commit into
mainfrom
vigilante/docs-640-docs-remove-invalid-yes-flag-from-coder-template-version

Conversation

@nickvigilante

Copy link
Copy Markdown
Contributor

What

Remove the invalid --yes flag from the coder template version promote command in the CI/CD publishing example.

Why

docs/tutorials/testing-templates.md documents, in the GitHub Actions "Promote template version" step:

coder template version promote --template=$TEMPLATE_NAME --template-version=... --yes

The promote subcommand has no --yes/confirmation flag, so the command exits with unknown flag: --yes and breaks the documented CI workflow. This is a golden-path (automation) breaker.

Verified against the generated reference docs/reference/cli/templates_versions_promote.md (flags are only --template, --template-version, -O/--org), and reproduced against a live deployment during the runtime drift sweep. The command is non-interactive, so no confirmation flag is needed.

Change

Single line: drop --yes.

Linear: DOCS-640

This PR was created with AI assistance (Coder Agents).

The CI/CD example ran the promote subcommand with --yes, but that flag does not exist and the command exits with 'unknown flag: --yes', breaking the documented GitHub Actions workflow. Confirmed against docs/reference/cli/templates_versions_promote.md (generated). Fixes DOCS-640.

> This PR was created with AI assistance (Coder Agents).
@linear-code

linear-code Bot commented Aug 12, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

@nickvigilante
nickvigilante marked this pull request as ready for review August 14, 2026 16:11
@nickvigilante
nickvigilante enabled auto-merge (squash) August 14, 2026 16:12
@nickvigilante
nickvigilante merged commit f3fd4c4 into main Aug 14, 2026
56 of 57 checks passed
@nickvigilante
nickvigilante deleted the vigilante/docs-640-docs-remove-invalid-yes-flag-from-coder-template-version branch August 14, 2026 16:41
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants