From b01b403afef22ac89c3cec74729b519fa04e85b0 Mon Sep 17 00:00:00 2001 From: Erika Gressi <56914614+eriqua@users.noreply.github.com> Date: Thu, 28 Mar 2024 17:55:25 +0000 Subject: [PATCH] fix: bump Azure login from v1 to v2 in GH actions (#1460) ## Description ## Pipeline Reference | Pipeline | | -------- | | [![avm.res.key-vault.vault](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.key-vault.vault.yml/badge.svg?branch=fix%2Fbump-action-login)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.key-vault.vault.yml) | ## Type of Change - [ ] Update to CI Environment or utlities (Non-module effecting changes) - [ ] Azure Verified Module updates: - [ ] Bugfix containing backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in `version.json`: - [ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description. - [ ] The bug was found by the module author, and no one has opened an issue to report it yet. - [ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in `version.json`. - [ ] Breaking changes and I have bumped the MAJOR version in `version.json`. - [ ] Update to documentation ## Checklist - [ ] I'm sure there are no other open Pull Requests for the same update/change - [ ] I have run `Set-AVMModule` locally to generate the supporting module files. - [ ] My corresponding pipelines / checks run clean and green without any errors or warnings --- .github/actions/templates/avm-publishModule/action.yml | 2 +- .../actions/templates/avm-validateModuleDeployment/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/templates/avm-publishModule/action.yml b/.github/actions/templates/avm-publishModule/action.yml index f05cc34ea5..cd2c53cd15 100644 --- a/.github/actions/templates/avm-publishModule/action.yml +++ b/.github/actions/templates/avm-publishModule/action.yml @@ -29,7 +29,7 @@ runs: using: "composite" steps: - name: Log in to Azure - uses: azure/login@v1 + uses: azure/login@v2 with: client-id: ${{ env.PUBLISH_CLIENT_ID }} tenant-id: ${{ env.PUBLISH_TENANT_ID }} diff --git a/.github/actions/templates/avm-validateModuleDeployment/action.yml b/.github/actions/templates/avm-validateModuleDeployment/action.yml index e98ca5a935..84dde50f32 100644 --- a/.github/actions/templates/avm-validateModuleDeployment/action.yml +++ b/.github/actions/templates/avm-validateModuleDeployment/action.yml @@ -56,7 +56,7 @@ runs: using: "composite" steps: - name: Azure Login - uses: Azure/login@v1 + uses: azure/login@v2 with: creds: ${{ env.AZURE_CREDENTIALS }} enable-AzPSSession: true