diff --git a/.github/workflows/build-no-cache.yml b/.github/workflows/build-no-cache.yml index 1353845036..339844ff67 100644 --- a/.github/workflows/build-no-cache.yml +++ b/.github/workflows/build-no-cache.yml @@ -17,7 +17,7 @@ jobs: - name: set-up-environment uses: DFE-Digital/github-actions/set-up-environment@master - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS_REVIEW }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6b589b8b1f..2fd192652e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,7 +80,7 @@ jobs: build-args: | BUILDKIT_INLINE_CACHE=1 - - uses: Azure/login@v1 + - uses: Azure/login@v2 if: failure() && github.ref == 'refs/heads/master' with: creds: ${{ secrets.AZURE_CREDENTIALS_REVIEW }} @@ -188,7 +188,7 @@ jobs: BUILDKIT_INLINE_CACHE=1 SHA=${{ steps.sha.outputs.short }} - - uses: Azure/login@v1 + - uses: Azure/login@v2 if: failure() && github.ref == 'refs/heads/master' with: creds: ${{ secrets.AZURE_CREDENTIALS_REVIEW }} @@ -226,7 +226,7 @@ jobs: - name: set-up-environment uses: DFE-Digital/github-actions/set-up-environment@master - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS_REVIEW }} @@ -319,7 +319,7 @@ jobs: - name: set-up-environment uses: DFE-Digital/github-actions/set-up-environment@master - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS_REVIEW }} @@ -374,7 +374,7 @@ jobs: - name: set-up-environment uses: DFE-Digital/github-actions/set-up-environment@master - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS_REVIEW }} @@ -449,7 +449,7 @@ jobs: secret_suffix="_REVIEW" echo "SECRET_SUFFIX=$secret_suffix" >> $GITHUB_ENV - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets[format('AZURE_CREDENTIALS{0}', env.SECRET_SUFFIX)] }} @@ -503,7 +503,7 @@ jobs: - name: set-up-environment uses: DFE-Digital/github-actions/set-up-environment@master - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS }} @@ -572,7 +572,7 @@ jobs: - name: Check out the repo uses: actions/checkout@v4 - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS }} @@ -618,7 +618,7 @@ jobs: - name: set-up-environment uses: DFE-Digital/github-actions/set-up-environment@master - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS }} @@ -677,7 +677,7 @@ jobs: - name: set-up-environment uses: DFE-Digital/github-actions/set-up-environment@master - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS }} @@ -734,7 +734,7 @@ jobs: - name: set-up-environment uses: DFE-Digital/github-actions/set-up-environment@master - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS }} diff --git a/.github/workflows/destroy_review.yml b/.github/workflows/destroy_review.yml index 92f464558b..021f5d8fe2 100644 --- a/.github/workflows/destroy_review.yml +++ b/.github/workflows/destroy_review.yml @@ -22,7 +22,7 @@ jobs: - name: set-up-environment uses: DFE-Digital/github-actions/set-up-environment@master - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS }} diff --git a/.github/workflows/lychee.yml b/.github/workflows/lychee.yml index bbdf519fc6..e62a89eeae 100644 --- a/.github/workflows/lychee.yml +++ b/.github/workflows/lychee.yml @@ -22,7 +22,7 @@ jobs: args: --exclude-mail --max-retries 20 app/views/content fail: true - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS_REVIEW }} diff --git a/.github/workflows/sha.yml b/.github/workflows/sha.yml index 21497831a5..6598067910 100644 --- a/.github/workflows/sha.yml +++ b/.github/workflows/sha.yml @@ -28,7 +28,7 @@ jobs: - name: set-up-environment uses: DFE-Digital/github-actions/set-up-environment@master - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS }} diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml index 855634d23a..856eb6209d 100644 --- a/.github/workflows/snyk.yml +++ b/.github/workflows/snyk.yml @@ -15,7 +15,7 @@ jobs: - name: set-up-environment uses: DFE-Digital/github-actions/set-up-environment@master - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS_REVIEW }} diff --git a/.github/workflows/trello.yml b/.github/workflows/trello.yml index ebfd836e0d..fc3197b2a6 100644 --- a/.github/workflows/trello.yml +++ b/.github/workflows/trello.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest if: "!contains( 'dependabot[bot] snyk-bot' , github.actor )" steps: - - uses: Azure/login@v1 + - uses: Azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS_REVIEW }}