From 0025bcdf6373837c6da7d54975857a031104a3c7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Mar 2026 03:16:23 +0000 Subject: [PATCH 1/2] Initial plan From 478d130a81f56ed4bed80898a00b191bfddb0430 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Mar 2026 03:20:50 +0000 Subject: [PATCH 2/2] =?UTF-8?q?Fix=20failing=20tests:=20update=20expected?= =?UTF-8?q?=20pin=20count=20(32=E2=86=9234)=20and=20setup-dotnet=20version?= =?UTF-8?q?=20(v5.1.0=E2=86=92v5.2.0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/action_pins_logging_test.go | 4 ++-- pkg/workflow/action_pins_test.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/workflow/action_pins_logging_test.go b/pkg/workflow/action_pins_logging_test.go index 2c293e0607b..d2010363fea 100644 --- a/pkg/workflow/action_pins_logging_test.go +++ b/pkg/workflow/action_pins_logging_test.go @@ -34,11 +34,11 @@ func TestActionPinResolutionWithMismatchedVersions(t *testing.T) { expectMismatch: true, }, { - name: "setup-dotnet v5 resolves to v5.1.0 pin but comment shows v5", + name: "setup-dotnet v5 resolves to v5.2.0 pin but comment shows v5", repo: "actions/setup-dotnet", requestedVer: "v5", expectedCommentVer: "v5", // Comment shows requested version - fallbackPinVer: "v5.1.0", + fallbackPinVer: "v5.2.0", expectMismatch: true, }, { diff --git a/pkg/workflow/action_pins_test.go b/pkg/workflow/action_pins_test.go index 877c2488cac..62ab46ccf12 100644 --- a/pkg/workflow/action_pins_test.go +++ b/pkg/workflow/action_pins_test.go @@ -297,9 +297,9 @@ func TestApplyActionPinToStep(t *testing.T) { func TestGetActionPinsSorting(t *testing.T) { pins := getActionPins() - // Verify we got all the pins (32 as of March 2026) - if len(pins) != 32 { - t.Errorf("getActionPins() returned %d pins, expected 32", len(pins)) + // Verify we got all the pins (34 as of March 2026) + if len(pins) != 34 { + t.Errorf("getActionPins() returned %d pins, expected 34", len(pins)) } // Verify they are sorted by version (descending) then by repository name (ascending)