Skip to content

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

Draft
nickvigilante wants to merge 1 commit into
mainfrom
vigilante/docs-640-docs-remove-invalid-yes-flag-from-coder-template-version
Draft

docs: remove invalid --yes flag from coder template version promote#28084
nickvigilante wants to merge 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

DOCS-640

@github-actions

Copy link
Copy Markdown

Docs preview

Check off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant