chore: Update workflow actions to Node 24 runtime + watch github-actions (#2486)
## Summary Audit of CI/CD workflows (`.github/workflows/**`, `azure-pipelines.yml`) for outdated actions, focused on the Node 20 → Node 24 runner deprecation. Most actions were already migrated; this PR cleans up the remaining stragglers and closes the gap that let them drift. ## Changes | Action | File(s) | From | To | Reason | |---|---|---|---|---| | `softprops/action-gh-release` | `create-release.yml`, `build-tool-release.yml` | `v2` | `v3` | v2 still runs Node 20; v3 is a pure Node 24 runtime move, inputs unchanged (drop-in) | | `dotnet/nbgv` | `create-release.yml` | `v0.5.1` | `v0.5.2` | Node 24 runtime bump | | `SethCohen/github-releases-to-discord` | `post-release-discord.yml` | `v1.19.0` | `v1.20.0` | Latest; adds manual-dispatch test support | | Dependabot | `dependabot.yml` | nuget only | + `github-actions` (weekly) | Auto-PR future action bumps instead of manual audits | ## Already current (no change) `actions/checkout@v6`, `actions/setup-dotnet@v5`, `actions/upload-artifact@v7`, `actions/download-artifact@v8`, and `signpath/...@v2` are all on current majors running the Node 24 runtime. The Azure tasks (`UseDotNet@2`, `NuGetAuthenticate@1`) are current as well. ## Notes - All target versions verified against GitHub's release API. - `action-gh-release@v3` release notes confirm it's a runtime-only change with no input/behavior changes — safe drop-in for both usages.
This commit is contained in:
parent
1c2e114b21
commit
7eb1b71a5b
4 changed files with 8 additions and 4 deletions
4
.github/dependabot.yml
vendored
4
.github/dependabot.yml
vendored
|
|
@ -9,3 +9,7 @@ updates:
|
||||||
directory: "/" # Location of package manifests
|
directory: "/" # Location of package manifests
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/" # Watches .github/workflows/**
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
|
|
|
||||||
2
.github/workflows/build-tool-release.yml
vendored
2
.github/workflows/build-tool-release.yml
vendored
|
|
@ -149,7 +149,7 @@ jobs:
|
||||||
sha256sum build-tool-* > checksums-sha256.txt
|
sha256sum build-tool-* > checksums-sha256.txt
|
||||||
|
|
||||||
- name: Create or update release
|
- name: Create or update release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v3
|
||||||
with:
|
with:
|
||||||
tag_name: build-tool-latest
|
tag_name: build-tool-latest
|
||||||
name: Build Tool (Latest)
|
name: Build Tool (Latest)
|
||||||
|
|
|
||||||
4
.github/workflows/create-release.yml
vendored
4
.github/workflows/create-release.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
global-json-file: global.json
|
global-json-file: global.json
|
||||||
- name: Compute version
|
- name: Compute version
|
||||||
uses: dotnet/nbgv@v0.5.1
|
uses: dotnet/nbgv@v0.5.2
|
||||||
id: nbgv
|
id: nbgv
|
||||||
- name: Push version tag
|
- name: Push version tag
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v3
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.nbgv.outputs.Version }}
|
tag_name: ${{ steps.nbgv.outputs.Version }}
|
||||||
name: ${{ steps.nbgv.outputs.Version }}
|
name: ${{ steps.nbgv.outputs.Version }}
|
||||||
|
|
|
||||||
2
.github/workflows/post-release-discord.yml
vendored
2
.github/workflows/post-release-discord.yml
vendored
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Post Release on Discord
|
- name: Post Release on Discord
|
||||||
uses: SethCohen/github-releases-to-discord@v1.19.0
|
uses: SethCohen/github-releases-to-discord@v1.20.0
|
||||||
with:
|
with:
|
||||||
webhook_url: ${{ secrets.WEBHOOK_URL }}
|
webhook_url: ${{ secrets.WEBHOOK_URL }}
|
||||||
username: "Release Changelog"
|
username: "Release Changelog"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue