From 2e7b18f59fcb0cc729613c5a3a3f8747edadd66a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Feb 2026 05:18:32 +0000 Subject: [PATCH 1/3] Initial plan From d4f235f7c584ba6f48624d7c863d711bbd0cd4d9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Feb 2026 05:24:20 +0000 Subject: [PATCH 2/3] Initial plan Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/aw/actions-lock.json | 5 +++++ .github/workflows/ci-coach.lock.yml | 2 +- .github/workflows/go-logger.lock.yml | 2 +- .github/workflows/hourly-ci-cleaner.lock.yml | 2 +- .github/workflows/tidy.lock.yml | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/aw/actions-lock.json b/.github/aw/actions-lock.json index 6cc217598c..80f6d33962 100644 --- a/.github/aw/actions-lock.json +++ b/.github/aw/actions-lock.json @@ -70,6 +70,11 @@ "version": "v5.6.0", "sha": "40f1582b2485089dde7abd97c1529aa768e1baff" }, + "actions/setup-go@v6": { + "repo": "actions/setup-go", + "version": "v6", + "sha": "4b73464bb391d4059bd26b0524d20df3927bd417" + }, "actions/setup-go@v6.2.0": { "repo": "actions/setup-go", "version": "v6.2.0", diff --git a/.github/workflows/ci-coach.lock.yml b/.github/workflows/ci-coach.lock.yml index 407a6a1f78..a9c78e50e8 100644 --- a/.github/workflows/ci-coach.lock.yml +++ b/.github/workflows/ci-coach.lock.yml @@ -301,7 +301,7 @@ jobs: name: Download CI workflow runs from last 7 days run: "# Download workflow runs for the ci workflow\ngh run list --repo ${{ github.repository }} --workflow=ci.yml --limit 100 --json databaseId,status,conclusion,createdAt,updatedAt,displayTitle,headBranch,event,url,workflowDatabaseId,number > /tmp/ci-runs.json\n\n# Create directory for artifacts\nmkdir -p /tmp/ci-artifacts\n\n# Download artifacts from recent runs (last 5 successful runs)\necho \"Downloading artifacts from recent CI runs...\"\ngh run list --repo ${{ github.repository }} --workflow=ci.yml --status success --limit 5 --json databaseId | jq -r '.[].databaseId' | while read -r run_id; do\n echo \"Processing run $run_id\"\n gh run download \"$run_id\" --repo ${{ github.repository }} --dir \"/tmp/ci-artifacts/$run_id\" 2>/dev/null || echo \"No artifacts for run $run_id\"\ndone\n\necho \"CI runs data saved to /tmp/ci-runs.json\"\necho \"Artifacts saved to /tmp/ci-artifacts/\"\n\n# Summarize downloaded artifacts\necho \"## Downloaded Artifacts\" >> \"$GITHUB_STEP_SUMMARY\"\nfind /tmp/ci-artifacts -type f -name \"*.txt\" -o -name \"*.html\" -o -name \"*.json\" | head -20 | while read -r f; do\n echo \"- $(basename \"$f\")\" >> \"$GITHUB_STEP_SUMMARY\"\ndone\n" - name: Setup Go - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6 + uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6 with: cache: true go-version-file: go.mod diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml index 5d4486c5dd..3eed8c9a30 100644 --- a/.github/workflows/go-logger.lock.yml +++ b/.github/workflows/go-logger.lock.yml @@ -280,7 +280,7 @@ jobs: - name: Create gh-aw temp directory run: bash /opt/gh-aw/actions/create_gh_aw_tmp_dir.sh - name: Setup Go - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6 + uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6 with: cache: true go-version-file: go.mod diff --git a/.github/workflows/hourly-ci-cleaner.lock.yml b/.github/workflows/hourly-ci-cleaner.lock.yml index 9bba2fea2a..228563118e 100644 --- a/.github/workflows/hourly-ci-cleaner.lock.yml +++ b/.github/workflows/hourly-ci-cleaner.lock.yml @@ -306,7 +306,7 @@ jobs: sudo apt-get update sudo apt-get install -y make - name: Setup Go - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6 + uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6 with: cache: true go-version-file: go.mod diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index 697486d66b..ec9c2a49e0 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -307,7 +307,7 @@ jobs: cache-dependency-path: actions/setup/js/package-lock.json node-version: "24" - name: Setup Go - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6 + uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6 with: cache: true go-version-file: go.mod From b18b4516fa3e8ec8e020beb43e523c71462244c3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Feb 2026 05:31:08 +0000 Subject: [PATCH 3/3] fix: correct TestUpdateCommand_NoMergeFlag assertion to match implementation Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/cli/update_integration_test.go | 5 +++-- pkg/workflow/data/action_pins.json | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pkg/cli/update_integration_test.go b/pkg/cli/update_integration_test.go index 58ed7ca0e6..a7e4a21e09 100644 --- a/pkg/cli/update_integration_test.go +++ b/pkg/cli/update_integration_test.go @@ -166,8 +166,9 @@ func TestUpdateCommand_NoMergeFlag(t *testing.T) { output, err := cmd.CombinedOutput() outputStr := string(output) - // It should fail because there are no workflows with source, not because --no-merge is unknown - assert.Error(t, err, "Should fail (no source workflows), output: %s", outputStr) + // The --no-merge flag should be recognized (not "unknown flag"). + // When no source workflows exist, the command succeeds with an info message. + assert.NoError(t, err, "Should succeed (no source workflows = info message, not error), output: %s", outputStr) assert.NotContains(t, outputStr, "unknown flag", "The --no-merge flag should be recognized") assert.Contains(t, outputStr, "no workflows found", "Should report no workflows found") } diff --git a/pkg/workflow/data/action_pins.json b/pkg/workflow/data/action_pins.json index 6cc217598c..80f6d33962 100644 --- a/pkg/workflow/data/action_pins.json +++ b/pkg/workflow/data/action_pins.json @@ -70,6 +70,11 @@ "version": "v5.6.0", "sha": "40f1582b2485089dde7abd97c1529aa768e1baff" }, + "actions/setup-go@v6": { + "repo": "actions/setup-go", + "version": "v6", + "sha": "4b73464bb391d4059bd26b0524d20df3927bd417" + }, "actions/setup-go@v6.2.0": { "repo": "actions/setup-go", "version": "v6.2.0",