diff --git a/.github/workflows/build-and-stage.yml b/.github/workflows/build-and-stage.yml index 1e6bf263..53db1de5 100644 --- a/.github/workflows/build-and-stage.yml +++ b/.github/workflows/build-and-stage.yml @@ -49,7 +49,7 @@ jobs: run: dotnet publish src/Steeltoe.io --configuration Release --no-build --output ${{ env.DOTNET_ROOT }}/mainsite - name: Upload artifact for deployment job - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: Steeltoe.io path: ${{ env.DOTNET_ROOT }}/mainsite @@ -66,12 +66,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Download artifact from build job - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: Steeltoe.io - name: Login to Azure - uses: azure/login@v2 + uses: azure/login@v3 with: creds: ${{ secrets.AZURE_CREDENTIALS }} @@ -99,7 +99,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/check-links.yml b/.github/workflows/check-links.yml index c4fb2746..dd27a71f 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -38,7 +38,7 @@ jobs: # Write-Host "Deleted cache $_" # } - name: Restore lychee cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: .lycheecache key: cache-lychee-${{ github.event.pull_request.number || 'manual' }}-${{ github.sha }} @@ -60,7 +60,7 @@ jobs: - name: Comment on PR with link check results if: ${{ github.event_name == 'pull_request' }} - uses: mshick/add-pr-comment@v2 + uses: mshick/add-pr-comment@v3 with: message-id: external-links-check message-path: ./lychee/results.md diff --git a/.github/workflows/pr-cleanup.yml b/.github/workflows/pr-cleanup.yml index bf2aa535..67712f42 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 }} @@ -46,13 +46,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 4a091977..376fd2b9 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 }}