ci: bump actions to node24-ready versions ahead of June 16 forced default

GitHub forces all JS actions onto Node 24 starting 2026-06-16 and
removes Node 20 from runners on 2026-09-16. Bump every affected action
to the first major that officially declares node24, avoiding majors
with functional changes (checkout v6, upload-artifact v7):

  actions/checkout            v4 -> v5
  azure/login                 v2 -> v3
  actions/setup-dotnet        v4 -> v5
  actions/setup-node          v4 -> v5
  actions/upload-artifact     v4 -> v6 (v5 still defaulted to node20)
  softprops/action-gh-release v2 -> v3
  stefanzweifel/git-auto-commit-action v5 -> v7 (v7 reverted the v6
    input removals; only standard inputs used here anyway)

Azure/functions-action@v1 (floating tag, node24 since v1.5.4) and
Azure/static-web-apps-deploy@v1 (Docker action) need no change.
All target tags verified to exist via git ls-remote.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Oliver Kieselbach
2026-06-12 16:52:01 +02:00
parent 25e58be9df
commit cb67e8c2f0
4 changed files with 13 additions and 13 deletions
+5 -5
View File
@@ -55,10 +55,10 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v5
- name: Setup .NET - name: Setup .NET
uses: actions/setup-dotnet@v4 uses: actions/setup-dotnet@v5
with: with:
dotnet-version: '8.0.x' dotnet-version: '8.0.x'
@@ -266,20 +266,20 @@ jobs:
} }
- name: Upload build artifact - name: Upload build artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v6
with: with:
name: AutopilotMonitor-Agent-v${{ steps.version.outputs.version }} name: AutopilotMonitor-Agent-v${{ steps.version.outputs.version }}
path: ${{ steps.artifact.outputs.versioned_zip_release }} path: ${{ steps.artifact.outputs.versioned_zip_release }}
- name: Upload version metadata - name: Upload version metadata
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v6
with: with:
name: version-metadata name: version-metadata
path: ${{ env.MANIFEST_NAME }} path: ${{ env.MANIFEST_NAME }}
- name: Create GitHub Release - name: Create GitHub Release
if: inputs.create_release if: inputs.create_release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v3
with: with:
tag_name: ${{ steps.version.outputs.tag }} tag_name: ${{ steps.version.outputs.tag }}
name: Autopilot Monitor Agent ${{ steps.version.outputs.version }} name: Autopilot Monitor Agent ${{ steps.version.outputs.version }}
+3 -3
View File
@@ -22,9 +22,9 @@ jobs:
permissions: permissions:
contents: write contents: write
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
- uses: actions/setup-node@v4 - uses: actions/setup-node@v5
with: with:
node-version: '20' node-version: '20'
@@ -57,7 +57,7 @@ jobs:
- name: Commit dist/ changes - name: Commit dist/ changes
if: github.ref == 'refs/heads/main' && github.event_name == 'push' if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: stefanzweifel/git-auto-commit-action@v5 uses: stefanzweifel/git-auto-commit-action@v7
with: with:
commit_message: "chore: regenerate rules/dist from individual files" commit_message: "chore: regenerate rules/dist from individual files"
file_pattern: "rules/dist/*" file_pattern: "rules/dist/*"
+3 -3
View File
@@ -9,15 +9,15 @@ jobs:
name: Build and Deploy Backend name: Build and Deploy Backend
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
- name: Login to Azure - name: Login to Azure
uses: azure/login@v2 uses: azure/login@v3
with: with:
creds: ${{ secrets.AZURE_CREDENTIALS }} creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Setup .NET 8 - name: Setup .NET 8
uses: actions/setup-dotnet@v4 uses: actions/setup-dotnet@v5
with: with:
dotnet-version: '8.0.x' dotnet-version: '8.0.x'
+2 -2
View File
@@ -15,10 +15,10 @@ jobs:
name: Build and Deploy MCP Server name: Build and Deploy MCP Server
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
- name: Login to Azure - name: Login to Azure
uses: azure/login@v2 uses: azure/login@v3
with: with:
creds: ${{ secrets.AZURE_CREDENTIALS }} creds: ${{ secrets.AZURE_CREDENTIALS }}