Skip to content

Conversation

@Vamshi-Microsoft
Copy link
Contributor

Purpose

This pull request updates several GitHub Actions workflow files to streamline and standardize the installation of the Azure CLI and Azure Developer CLI (azd). The main improvements are the removal of manual Azure CLI installation steps and the adoption of the official Azure/setup-azd GitHub Action for installing azd. These changes simplify the workflows, reduce redundancy, and ensure a more reliable setup process across different environments.

Workflow simplification and standardization:

  • Removed manual installation of the Azure CLI in all relevant workflow files, relying on pre-installed versions provided by GitHub-hosted runners or other setup steps. [1] [2] [3] [4]
  • Replaced custom azd installation scripts with the official Azure/setup-azd@v2 GitHub Action in both Linux and Windows deployment workflows, ensuring consistency and maintainability. [1] [2]
  • Removed redundant inline installation commands for azd in Linux deployment scripts, further reducing complexity.

Does this introduce a breaking change?

  • Yes
  • No

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request refactors GitHub Actions workflow files to streamline Azure tooling setup by removing manual installation steps and adopting official actions. The changes eliminate redundant curl-based installation commands for Azure CLI and standardize Azure Developer CLI (azd) installation using the official Azure/setup-azd@v2 GitHub Action.

Key changes:

  • Removed manual Azure CLI installation steps across all workflows, relying on pre-installed versions on GitHub-hosted runners
  • Standardized azd installation using Azure/setup-azd@v2 action with consistent naming ("Install azd")
  • Eliminated duplicate inline azd installation commands in deployment scripts

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/job-deploy-windows.yml Renamed azd installation step to "Install azd" for consistency with Linux workflow
.github/workflows/job-deploy-linux.yml Removed manual Azure CLI setup, replaced custom azd installation script with Azure/setup-azd@v2, and removed duplicate azd installation from deployment script
.github/workflows/job-cleanup-deployment.yml Removed conditional Azure CLI setup step (relies on pre-installed version)
.github/workflows/deploy.yml Removed manual Azure CLI setup steps from both deploy and cleanup-deployment jobs
.github/workflows/deploy-waf.yml Removed manual Azure CLI setup step from deployment job

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

@Prajwal-Microsoft Prajwal-Microsoft merged commit ad52331 into main Jan 12, 2026
17 of 18 checks passed
@github-actions
Copy link

🎉 This PR is included in version 4.0.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants