Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ 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
dotnet-version: 10.0.x
Comment thread
jeffhandley marked this conversation as resolved.

- name: "Build the IssueLabeler solution"
run: dotnet build IssueLabeler/ --configuration Release
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/labeler-train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
dotnet-version: 10.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 }}
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion IssueLabeler/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<!-- Build Properties -->
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<UseArtifactsOutput>true</UseArtifactsOutput>
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
Expand Down
17 changes: 6 additions & 11 deletions IssueLabeler/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,16 @@
</PropertyGroup>

<ItemGroup>
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageVersion Include="coverlet.collector" Version="10.0.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.6.0" />
<PackageVersion Include="GitHub.Actions.Core" Version="9.0.0" />
<PackageVersion Include="GitHubJwt" Version="0.0.6" />
<PackageVersion Include="GraphQL.Client" Version="6.1.0" />
<PackageVersion Include="GraphQL.Client.Serializer.SystemTextJson" Version="6.1.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="9.0.4" />
<PackageVersion Include="Microsoft.ML" Version="4.0.2" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="10.0.9" />
<PackageVersion Include="Microsoft.ML" Version="5.0.0" />
<PackageVersion Include="Octokit" Version="14.0.0" />
<PackageVersion Include="xunit" Version="2.9.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
</ItemGroup>

<!-- Transitive dependency version bumps -->
<ItemGroup>
<PackageVersion Include="System.Private.Uri" Version="4.3.2" />
<PackageVersion Include="xunit" Version="2.9.3" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
</ItemGroup>
</Project>
3 changes: 0 additions & 3 deletions IssueLabeler/src/GitHubClient/GitHubClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
<PackageReference Include="GraphQL.Client" />
<PackageReference Include="GraphQL.Client.Serializer.SystemTextJson" />
<PackageReference Include="Octokit" />

<!-- Transitive dependency version bumps -->
<PackageReference Include="System.Private.Uri" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion IssueLabeler/tests/Common.Tests/Common.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
Expand Down
8 changes: 4 additions & 4 deletions download/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -67,9 +67,9 @@ 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"
dotnet-version: "10.0.x"

- name: "Run Downloader"
shell: bash
Expand All @@ -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 }}
Expand Down
12 changes: 6 additions & 6 deletions promote/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion restore/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}"
Expand Down
6 changes: 3 additions & 3 deletions test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ 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"
dotnet-version: "10.0.x"

- name: "Run Tester"
shell: bash
Expand Down
10 changes: 5 additions & 5 deletions train/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -59,16 +59,16 @@ 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
dotnet-version: 10.0.x

- name: "Run Trainer"
shell: bash
Expand All @@ -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 }}
Expand Down
Loading