From 4b4a86f61065fa9b2eeee87452683b1ec71e9b98 Mon Sep 17 00:00:00 2001 From: GitHub Copilot Date: Thu, 26 Feb 2026 06:30:00 +0000 Subject: [PATCH] Fix CI failures: add verbose flag to PR transfer command and update action pins count - Add --verbose/-v flag to NewPRTransferSubcommand to fix TestNewPRTransferSubcommand - Update TestGetActionPinsSorting expected count from 37 to 38 after new pin was added Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- pkg/cli/pr_command.go | 1 + pkg/workflow/action_pins_test.go | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/cli/pr_command.go b/pkg/cli/pr_command.go index c941ea2f0fb..3a6b60c6147 100644 --- a/pkg/cli/pr_command.go +++ b/pkg/cli/pr_command.go @@ -98,6 +98,7 @@ The command will: } addRepoFlag(cmd) + cmd.Flags().BoolP("verbose", "v", false, "Enable verbose output") return cmd } diff --git a/pkg/workflow/action_pins_test.go b/pkg/workflow/action_pins_test.go index 91ef2797065..123ad9d88b9 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 (37 as of February 2026) - if len(pins) != 37 { - t.Errorf("getActionPins() returned %d pins, expected 37", len(pins)) + // Verify we got all the pins (38 as of February 2026) + if len(pins) != 38 { + t.Errorf("getActionPins() returned %d pins, expected 38", len(pins)) } // Verify they are sorted by version (descending) then by repository name (ascending)