Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 6, 2025

Bumps azure/CLI from 2.1.0 to 2.2.0.

Release notes

Sourced from azure/CLI's releases.

GitHub Action for Azure CLI v2.2.0

What's Changed

New Contributors

Full Changelog: Azure/cli@v2.1.0...v2.2.0

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Oct 6, 2025
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 6, 2025
@kaito-pr-agent
Copy link

kaito-pr-agent bot commented Oct 6, 2025

Title

Bump azure/CLI to v2.2.0 in e2e workflows


Description

  • Updated Azure CLI action to v2.2.0 in workflows

  • Improved resource cleanup reliability

  • Maintained existing workflow functionality


Changes walkthrough 📝

Relevant files
Dependencies
e2e-workflow.yaml
Update Azure CLI version in e2e workflow                                 

.github/workflows/e2e-workflow.yaml

  • Updated azure/CLI action from v2.1.0 to v2.2.0
  • Maintained resource cleanup functionality
  • +1/-1     
    ragengine-e2e-workflow.yaml
    Upgrade Azure CLI in ragengine workflow                                   

    .github/workflows/ragengine-e2e-workflow.yaml

  • Upgraded azure/CLI to v2.2.0 in node pool creation
  • Updated CLI version in resource cleanup step
  • +2/-2     

    Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.
  • @kaito-pr-agent
    Copy link

    kaito-pr-agent bot commented Oct 6, 2025

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    🎫 Ticket compliance analysis 🔶

    178 - Partially compliant

    Compliant requirements:

    • Updated Azure CLI action to v2.2.0 which includes the fix

    Non-compliant requirements:

    • None

    Requires further human verification:

    • None
    ⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ Recommended focus areas for review

    Version Compatibility

    Verify that Azure CLI v2.2.0 maintains backward compatibility with existing workflow commands

    uses: azure/[email protected]
    Node Pool Creation

    Validate that nodepool creation command works with updated Azure CLI version

    uses: azure/[email protected]
    Cleanup Command

    Confirm resource cleanup command functions correctly with new CLI version

    uses: azure/[email protected]

    @kaito-pr-agent
    Copy link

    kaito-pr-agent bot commented Oct 6, 2025

    PR Code Suggestions ✨

    Explore these optional code suggestions:

    CategorySuggestion                                                                                                                                    Impact
    Possible issue
    Check nodepool existence before creation

    Add error handling and resource existence verification to the nodepool creation
    command. The current implementation will fail the workflow if the nodepool already
    exists. Use az aks nodepool list to check for existing nodepools before creation.

    .github/workflows/ragengine-e2e-workflow.yaml [124-129]

     uses: azure/[email protected]
     with:
       inlineScript: |
    -    az aks nodepool add \
    -      --resource-group "${{ env.CLUSTER_NAME }}" \
    +    if ! az aks nodepool list --cluster-name "${{ env.CLUSTER_NAME }}" --resource-group "${{ env.CLUSTER_NAME }}" --query "[?name=='ragpool'].name" -o tsv | grep -q ragpool; then
    +      az aks nodepool add \
    +        --resource-group "${{ env.CLUSTER_NAME }}" \
    +        ...
    +    fi
    Suggestion importance[1-10]: 8

    __

    Why: The suggestion prevents workflow failures by verifying nodepool existence before creation, addressing a potential idempotency issue. This is more critical than the first suggestion as it avoids runtime errors.

    Medium
    Verify resource group exists before deletion

    Add explicit resource group existence check before deletion to prevent errors when
    the resource group doesn't exist. The current command fails silently but outputs
    unnecessary error messages when the resource group is already deleted. Use az group
    exists to verify existence first.

    .github/workflows/e2e-workflow.yaml [160-164]

     uses: azure/[email protected]
     with:
       inlineScript: |
         set +e
    -    az group delete --name "${AZURE_RESOURCE_GROUP}" --yes --no-wait || true
    +    if az group exists -n "${AZURE_RESOURCE_GROUP}"; then
    +      az group delete --name "${AZURE_RESOURCE_GROUP}" --yes --no-wait
    +    fi
    Suggestion importance[1-10]: 7

    __

    Why: The suggestion adds idempotency by checking resource group existence before deletion, improving workflow reliability. However, the current || true already prevents failures, making this a moderate improvement.

    Medium

    @chewong
    Copy link
    Collaborator

    chewong commented Oct 8, 2025

    @dependabot rebase

    Bumps [azure/CLI](https://github.com/azure/cli) from 2.1.0 to 2.2.0.
    - [Release notes](https://github.com/azure/cli/releases)
    - [Changelog](https://github.com/Azure/cli/blob/master/ReleaseProcess.md)
    - [Commits](Azure/cli@v2.1.0...v2.2.0)
    
    ---
    updated-dependencies:
    - dependency-name: azure/CLI
      dependency-version: 2.2.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    @dependabot dependabot bot force-pushed the dependabot/github_actions/azure/CLI-2.2.0 branch from 1886b7d to e24b170 Compare October 8, 2025 17:04
    @chewong chewong merged commit b27f41c into main Oct 8, 2025
    16 of 18 checks passed
    @chewong chewong deleted the dependabot/github_actions/azure/CLI-2.2.0 branch October 8, 2025 18:19
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code Review effort 1/5

    Projects

    Status: Done

    Development

    Successfully merging this pull request may close these issues.

    2 participants