Skip to content

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

Merged
nickvigilante merged 1 commit into
release/2.29from
backport/28084-to-2.29
Aug 14, 2026
Merged

docs: remove invalid --yes flag from coder template version promote (#28084)#28159
nickvigilante merged 1 commit into
release/2.29from
backport/28084-to-2.29

Conversation

@github-actions

Copy link
Copy Markdown

Backport of #28084

Original PR: #28084 — docs: remove invalid --yes flag from coder template version promote
Merge commit: f3fd4c4
Requested by: @nickvigilante

…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)
@github-actions github-actions Bot added the backport/v2.29 Backport PR targeting release/2.29 label Aug 14, 2026
@github-actions
github-actions Bot requested a review from nickvigilante August 14, 2026 16:48
@nickvigilante
nickvigilante merged commit 1abc6f0 into release/2.29 Aug 14, 2026
@nickvigilante
nickvigilante deleted the backport/28084-to-2.29 branch August 14, 2026 16:55
@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

backport/v2.29 Backport PR targeting release/2.29

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant