Skip to content

[Resource] Fix #32786: az bicep publish: Correct placement of --force in help example - #33517

Merged
Cooper Cox (coopercox-ms) merged 1 commit into
Azure:devfrom
titanniya542-spec:fix/bicep-publish-force-help
Aug 20, 2026
Merged

[Resource] Fix #32786: az bicep publish: Correct placement of --force in help example#33517
Cooper Cox (coopercox-ms) merged 1 commit into
Azure:devfrom
titanniya542-spec:fix/bicep-publish-force-help

Conversation

@titanniya542-spec

@titanniya542-spec titanniya542-spec commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

🤖 PR Validation — ️✔️ All clear

Breaking Changes Tests
️✔️ None ️✔️ 130/130

Summary

  • Move --force outside the quoted --target value in the az bicep publish help example.
  • This updates the Azure CLI source help so generated docs keep the corrected syntax.

Fixes #32786.
Follow-up to MicrosoftDocs/azure-docs-cli#6015, where the generated docs were corrected and maintainers noted the source should be updated here.

Testing

  • rg -n "az bicep publish --file \{bicep_file\} --target" src\azure-cli\azure\cli\command_modules\resource\_help.py
  • git diff --check

AI disclosure

This pull request was prepared with assistance from OpenAI Codex.

@azure-client-tools-bot-prd

Copy link
Copy Markdown
Validation for Azure CLI Full Test Starting...

Thanks for your contribution!

@azure-client-tools-bot-prd

Copy link
Copy Markdown
Validation for Breaking Change Starting...

Thanks for your contribution!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Fixes an az bicep publish help example where the --force flag was incorrectly included inside the --target string.

Changes:

  • Corrected quoting/argument placement for the --force flag in the “overwrite existing tag” example.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yonzhan

Copy link
Copy Markdown
Collaborator

bicep

@MaddyMicrosoft MaddyMicrosoft left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@x-engineering-agent

Copy link
Copy Markdown
Contributor

Live test skipped

⏭️ Skipping the live test for this revision because no new test file was added (tests/**/test_*.py).

The live-test pipeline runs only the test files a PR changes, so there is nothing to execute for this commit. This is informational — a regression test is encouraged where it makes sense, but not required. If a test file is added in a later commit, the live test will run automatically.

@x-engineering-agent x-engineering-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI Review Summary — PASS

All checks are green for this PR:

Check Status
azdev-linter ✅ success
azdev-style ✅ success
block-merge ✅ success
license/cla ✅ success

This is a documentation-only change (fixing the az bicep publish --force example), so no runnable test files were affected and the live-test workflow was correctly skipped.

No further action needed from the automation side. Ready for maintainer merge decision.

@coopercox-ms

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@coopercox-ms Cooper Cox (coopercox-ms) changed the title docs: fix bicep publish force example [Resource] Fix #32786: \ az bicep publish: Correct placement of --force in help example Aug 20, 2026
@coopercox-ms Cooper Cox (coopercox-ms) changed the title [Resource] Fix #32786: \ az bicep publish: Correct placement of --force in help example [Resource] Fix #32786: az bicep publish: Correct placement of --force in help example Aug 20, 2026
@coopercox-ms

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@coopercox-ms
Cooper Cox (coopercox-ms) merged commit 0428662 into Azure:dev Aug 20, 2026
57 checks passed
@a0x1ab Aditya Pujara (a0x1ab) added X Engineering Agent Reviewed Pull request reviewed by X Engineering Agent and removed azure-client-tools-agent labels Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

X Engineering Agent Reviewed Pull request reviewed by X Engineering Agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation for "az bicep publish" has a typo in the examples

7 participants