From 1af890eeb19268395f9111b90b87f77a2d7886f5 Mon Sep 17 00:00:00 2001 From: Jeff Handley Date: Sat, 13 Jun 2026 01:17:26 -0700 Subject: [PATCH 1/3] Bump third-party actions to Node 24 runtimes - actions/checkout: v4.2.2 -> v6.0.3 - actions/setup-dotnet: v4.3.1 -> v5.3.0 - actions/cache/restore: v4.2.3 -> v5.0.5 - actions/cache/save: v4.2.3 -> v5.0.5 - docker/login-action: v3.4.0 -> v4.2.0 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/ci-build.yml | 4 ++-- .github/workflows/labeler-train.yml | 6 +++--- .github/workflows/release.yml | 8 ++++---- download/action.yml | 6 +++--- promote/action.yml | 12 ++++++------ restore/action.yml | 2 +- test/action.yml | 4 ++-- train/action.yml | 8 ++++---- 8 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 4a232f1..97d88d5 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -24,10 +24,10 @@ jobs: contents: read steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - name: "Set up the .NET SDK" - uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1 + uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 with: dotnet-version: 9.0.x diff --git a/.github/workflows/labeler-train.yml b/.github/workflows/labeler-train.yml index 31e08b7..a7c2584 100644 --- a/.github/workflows/labeler-train.yml +++ b/.github/workflows/labeler-train.yml @@ -122,7 +122,7 @@ jobs: has_training_data: ${{ steps.check.outputs.has_training_data }} steps: - name: "Restore Issue Data from Cache" - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: labeler-cache/issues-data.tsv key: issue-labeler/data/issues/${{ env.CACHE_KEY }} @@ -150,7 +150,7 @@ jobs: has_training_data: ${{ steps.check.outputs.has_training_data }} steps: - name: "Restore Pull Request Data from Cache" - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: labeler-cache/pulls-data.tsv key: issue-labeler/data/pulls/${{ env.CACHE_KEY }} @@ -178,7 +178,7 @@ jobs: has_training_data: ${{ steps.check.outputs.has_training_data }} steps: - name: "Restore Discussion Data from Cache" - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: labeler-cache/discussions-data.tsv key: issue-labeler/data/discussions/${{ env.CACHE_KEY }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5834aed..173346b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,15 +47,15 @@ jobs: published_image_digest: ${{ steps.published-image.outputs.published_image_digest }} steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - name: "Set up the .NET SDK" - uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1 + uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 with: dotnet-version: 9.0.x - name: "Log in to the GitHub Container Registry" - uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0 + uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0 with: registry: ghcr.io username: ${{ github.actor }} @@ -114,7 +114,7 @@ jobs: contents: write steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - name: "Commit the `predict` image update and capture workflow pin patch" id: release diff --git a/download/action.yml b/download/action.yml index b6f95a5..3dca7cf 100644 --- a/download/action.yml +++ b/download/action.yml @@ -46,7 +46,7 @@ runs: - name: "Check for Existing Cache Entry" id: check-cache - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ env.DATA_PATH }} key: ${{ env.CACHE_KEY }} @@ -67,7 +67,7 @@ runs: fi - name: "Set up the .NET SDK" - uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1 + uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 with: dotnet-version: "9.0.x" @@ -85,7 +85,7 @@ runs: ${{ (inputs.retries && format('--retries "{0}"', inputs.retries)) || '' }} - name: "Save the Downloaded Data to Cache" - uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ env.DATA_PATH }} key: ${{ env.CACHE_KEY }} diff --git a/promote/action.yml b/promote/action.yml index 5b22ce5..380a638 100644 --- a/promote/action.yml +++ b/promote/action.yml @@ -43,7 +43,7 @@ runs: - name: "Check for Existing Staged Cache Entry" id: check-staged - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ env.CACHE_PATH }} key: ${{ env.STAGED_KEY }} @@ -53,7 +53,7 @@ runs: - name: "Check for Existing Backup Cache Entry" if: ${{ steps.check-staged.outputs.cache-hit == 'true' }} id: check-backup - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ env.CACHE_PATH }} key: ${{ env.BACKUP_KEY }} @@ -63,7 +63,7 @@ runs: - name: "Restore Existing Active Cache Entry" if: ${{ steps.check-staged.outputs.cache-hit == 'true' }} id: check-active - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ env.CACHE_PATH }} key: ${{ env.ACTIVE_KEY }} @@ -84,7 +84,7 @@ runs: - name: "Cache Backup of Current Active Cache Entry" if: ${{ steps.check-active.outputs.cache-hit == 'true' }} id: backup-file - uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ env.CACHE_PATH }} key: ${{ env.BACKUP_KEY }} @@ -96,7 +96,7 @@ runs: rm ${{ env.CACHE_PATH }} - name: "Restore the Staged Cache Entry to Promote" - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ env.CACHE_PATH }} key: ${{ env.STAGED_KEY }} @@ -112,7 +112,7 @@ runs: GH_REPO: ${{ github.repository }} - name: "Save the Staged Cache Entry as the ACTIVE Cache Entry" - uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ env.CACHE_PATH }} key: ${{ env.ACTIVE_KEY }} diff --git a/restore/action.yml b/restore/action.yml index 81617e0..a358d0d 100644 --- a/restore/action.yml +++ b/restore/action.yml @@ -42,7 +42,7 @@ runs: - name: "Restore Model from Cache" id: restore-cache - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: "labeler-cache/${{ inputs.type }}-model.zip" key: "issue-labeler/model/${{ inputs.type }}/${{ inputs.cache_key || 'ACTIVE' }}" diff --git a/test/action.yml b/test/action.yml index 30d889f..afee1a4 100644 --- a/test/action.yml +++ b/test/action.yml @@ -47,14 +47,14 @@ runs: fi - name: "Restore model from cache" - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: "labeler-cache/${{ inputs.type == 'pulls' && 'pulls' || inputs.type == 'discussions' && 'discussions' || 'issues' }}-model.zip" key: "issue-labeler/model/${{ inputs.type }}/${{ inputs.cache_key || 'staged' }}" fail-on-cache-miss: true - name: "Set up the .NET SDK" - uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1 + uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 with: dotnet-version: "9.0.x" diff --git a/train/action.yml b/train/action.yml index 98b0645..908e075 100644 --- a/train/action.yml +++ b/train/action.yml @@ -39,7 +39,7 @@ runs: - name: "Check for an existing model" id: check-cache - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ env.MODEL_PATH }} key: ${{ env.MODEL_CACHE_KEY }} @@ -59,14 +59,14 @@ runs: fi - name: "Restore Data from Cache" - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ env.DATA_PATH }} key: ${{ env.DATA_CACHE_KEY }} fail-on-cache-miss: true - name: "Set up the .NET SDK" - uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1 + uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 with: dotnet-version: 9.0.x @@ -83,7 +83,7 @@ runs: dotnet run -c Release --project "${{ github.action_path }}/../IssueLabeler/src/Trainer" -- "${trainer_args[@]}" - name: "Save Model to Cache" - uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ env.MODEL_PATH }} key: ${{ env.MODEL_CACHE_KEY }} From 6c4441f9cde37e15df54b28175892134c30d6472 Mon Sep 17 00:00:00 2001 From: Jeff Handley Date: Sat, 13 Jun 2026 01:21:49 -0700 Subject: [PATCH 2/3] Bump target framework and runtime from .NET 9 to .NET 10 - TargetFramework: net9.0 -> net10.0 in Directory.Build.props and Common.Tests.csproj - setup-dotnet dotnet-version: 9.0.x -> 10.0.x in ci-build, release, download, test, train - release.yml BASE_IMAGE: mcr.microsoft.com/dotnet/runtime:9.0-noble-chiseled -> 10.0-noble-chiseled - Microsoft.Extensions.DependencyInjection: 9.0.4 -> 10.0.9 - Remove System.Private.Uri PackageVersion and PackageReference (pruned on net10.0, NU1510) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/ci-build.yml | 2 +- .github/workflows/release.yml | 4 ++-- IssueLabeler/Directory.Build.props | 2 +- IssueLabeler/Directory.Packages.props | 7 +------ IssueLabeler/src/GitHubClient/GitHubClient.csproj | 3 --- IssueLabeler/tests/Common.Tests/Common.Tests.csproj | 2 +- download/action.yml | 2 +- test/action.yml | 2 +- train/action.yml | 2 +- 9 files changed, 9 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 97d88d5..567f475 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -29,7 +29,7 @@ jobs: - name: "Set up the .NET SDK" uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: "Build the IssueLabeler solution" run: dotnet build IssueLabeler/ --configuration Release diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 173346b..26c70a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: permissions: {} env: - BASE_IMAGE: mcr.microsoft.com/dotnet/runtime:9.0-noble-chiseled + BASE_IMAGE: mcr.microsoft.com/dotnet/runtime:10.0-noble-chiseled PREDICTOR_IMAGE_NAME: ${{ github.repository }}/predictor PACKAGE_NAME_ESCAPED: issue-labeler%2Fpredictor GITHUB_API_PACKAGE_OWNER: /orgs/dotnet @@ -52,7 +52,7 @@ jobs: - name: "Set up the .NET SDK" uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: "Log in to the GitHub Container Registry" uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0 diff --git a/IssueLabeler/Directory.Build.props b/IssueLabeler/Directory.Build.props index 8272204..0982ceb 100644 --- a/IssueLabeler/Directory.Build.props +++ b/IssueLabeler/Directory.Build.props @@ -2,7 +2,7 @@ - net9.0 + net10.0 true true $(MSBuildThisFileDirectory)artifacts diff --git a/IssueLabeler/Directory.Packages.props b/IssueLabeler/Directory.Packages.props index 5c936eb..4a5ada1 100644 --- a/IssueLabeler/Directory.Packages.props +++ b/IssueLabeler/Directory.Packages.props @@ -10,15 +10,10 @@ - + - - - - - diff --git a/IssueLabeler/src/GitHubClient/GitHubClient.csproj b/IssueLabeler/src/GitHubClient/GitHubClient.csproj index ce9e773..522c4dd 100644 --- a/IssueLabeler/src/GitHubClient/GitHubClient.csproj +++ b/IssueLabeler/src/GitHubClient/GitHubClient.csproj @@ -11,9 +11,6 @@ - - - diff --git a/IssueLabeler/tests/Common.Tests/Common.Tests.csproj b/IssueLabeler/tests/Common.Tests/Common.Tests.csproj index cee86d4..9c0c086 100644 --- a/IssueLabeler/tests/Common.Tests/Common.Tests.csproj +++ b/IssueLabeler/tests/Common.Tests/Common.Tests.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable false diff --git a/download/action.yml b/download/action.yml index 3dca7cf..60684c3 100644 --- a/download/action.yml +++ b/download/action.yml @@ -69,7 +69,7 @@ runs: - name: "Set up the .NET SDK" uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 with: - dotnet-version: "9.0.x" + dotnet-version: "10.0.x" - name: "Run Downloader" shell: bash diff --git a/test/action.yml b/test/action.yml index afee1a4..5251944 100644 --- a/test/action.yml +++ b/test/action.yml @@ -56,7 +56,7 @@ runs: - name: "Set up the .NET SDK" uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 with: - dotnet-version: "9.0.x" + dotnet-version: "10.0.x" - name: "Run Tester" shell: bash diff --git a/train/action.yml b/train/action.yml index 908e075..87d08e8 100644 --- a/train/action.yml +++ b/train/action.yml @@ -68,7 +68,7 @@ runs: - name: "Set up the .NET SDK" uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: "Run Trainer" shell: bash From e5c7f978cb77af68829c58a589e6bc6ab706f89e Mon Sep 17 00:00:00 2001 From: Jeff Handley Date: Sat, 13 Jun 2026 01:23:51 -0700 Subject: [PATCH 3/3] Bump remaining package dependencies to latest stable - coverlet.collector: 6.0.2 -> 10.0.1 - Microsoft.NET.Test.Sdk: 17.12.0 -> 18.6.0 - Microsoft.ML: 4.0.2 -> 5.0.0 - xunit: 2.9.2 -> 2.9.3 - xunit.runner.visualstudio: 2.8.2 -> 3.1.5 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- IssueLabeler/Directory.Packages.props | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/IssueLabeler/Directory.Packages.props b/IssueLabeler/Directory.Packages.props index 4a5ada1..ac623f1 100644 --- a/IssueLabeler/Directory.Packages.props +++ b/IssueLabeler/Directory.Packages.props @@ -4,16 +4,16 @@ - - + + - + - - + +