{{ message }}
fix(docs): remove invalid --yes flag from coder template version promote (backport to release/2.34) - #28172
Merged
Merged
Conversation
…e` (#28084) ## 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](https://linear.app/codercom/issue/DOCS-640/docs-remove-invalid-yes-flag-from-coder-template-version-promote) > This PR was created with AI assistance (Coder Agents). (cherry picked from commit f3fd4c4)
Contributor
Contributor
--yes flag from coder template version promote (backport to release/2.34)--yes flag from coder template version promote (backport to release/2.34)
nickvigilante
marked this pull request as ready for review
August 14, 2026 17:27
nickvigilante
enabled auto-merge (squash)
August 14, 2026 17:27
BobbyHo
approved these changes
Aug 14, 2026
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.

Backport of #28084 to
release/2.34(ESR).Cherry-picked
f3fd4c4a77f2frommainviagit cherry-pick -x. Docs-only change; applied cleanly with no conflicts.The
backportlabel on the original merged PR did not produce a 2.34 backport, so this is created by hand. 2.34 is listed inscripts/release_channels/esr_versions.txt, so it is a valid backport target.--yesflag fromcoder template version promote#28084