diff --git a/.github/workflows/build-and-stage.yml b/.github/workflows/build-and-stage.yml index cc72710..66917e8 100644 --- a/.github/workflows/build-and-stage.yml +++ b/.github/workflows/build-and-stage.yml @@ -23,7 +23,7 @@ jobs: name: Build and push image runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 # avoid shallow clone so nbgv can do its work. @@ -44,7 +44,7 @@ jobs: fi - name: Login to container registry - uses: azure/docker-login@v1 + uses: azure/docker-login@v2 with: login-server: "${{ vars.DOCKER_REGISTRY }}" username: "${{ secrets.DOCKER_USERNAME }}" @@ -68,7 +68,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Login to Azure - uses: azure/login@v2 + uses: azure/login@v3 with: creds: ${{ secrets.AZURE_CREDENTIALS }} @@ -86,7 +86,7 @@ jobs: - name: If PR, comment with the preview link if: ${{ github.event_name == 'pull_request' }} - uses: mshick/add-pr-comment@v2 + uses: mshick/add-pr-comment@v3 with: message: | ## Preview link: https://${{ vars.AZURE_WEBAPP_NAME }}-${{ env.SLOT_NAME }}.azurewebsites.net diff --git a/.github/workflows/pr-cleanup.yml b/.github/workflows/pr-cleanup.yml index 62d6344..d7df504 100644 --- a/.github/workflows/pr-cleanup.yml +++ b/.github/workflows/pr-cleanup.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Log into Azure CLI with service principal - uses: azure/login@v2 + uses: azure/login@v3 with: creds: ${{ secrets.AZURE_CREDENTIALS }} @@ -47,13 +47,13 @@ jobs: steps: - name: Generate GitHub App Token id: app-token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v3 with: app-id: ${{ secrets.ENV_CLEANUP_APP_ID }} private-key: ${{ secrets.ENV_CLEANUP_APP_PRIVATE_KEY }} - name: Delete Deployment Environment - uses: strumwolf/delete-deployment-environment@v3 + uses: strumwolf/delete-deployment-environment@v4 with: environment: "pr-${{ github.event.number }}" token: ${{ steps.app-token.outputs.token }} diff --git a/.github/workflows/stage-prod-swap.yml b/.github/workflows/stage-prod-swap.yml index dccaff0..e154e05 100644 --- a/.github/workflows/stage-prod-swap.yml +++ b/.github/workflows/stage-prod-swap.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Log into Azure CLI with service principal - uses: azure/login@v2 + uses: azure/login@v3 with: creds: ${{ secrets.AZURE_CREDENTIALS }}