{{ message }}
docs: remove invalid --yes flag from coder template version promote - #28084
Merged
nickvigilante merged 1 commit intoAug 14, 2026
Conversation
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).
Contributor
nickvigilante
marked this pull request as ready for review
August 14, 2026 16:11
nickvigilante
enabled auto-merge (squash)
August 14, 2026 16:12
BobbyHo
approved these changes
Aug 14, 2026
nickvigilante
deleted the
vigilante/docs-640-docs-remove-invalid-yes-flag-from-coder-template-version
branch
August 14, 2026 16:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
Remove the invalid
--yesflag from thecoder template version promotecommand in the CI/CD publishing example.Why
docs/tutorials/testing-templates.mddocuments, in the GitHub Actions "Promote template version" step:The
promotesubcommand has no--yes/confirmation flag, so the command exits withunknown flag: --yesand 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