From 96296d3bed57aa6f52b2841be76e13cd43fb0e58 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 18 Jun 2026 16:28:03 +0000 Subject: [PATCH 1/3] Initial plan From 87dd71f89bd19cbd87ded7b96c55878096ff0ef3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 18 Jun 2026 16:40:55 +0000 Subject: [PATCH 2/3] test: pin dispatch-workflow integration test to public workflow commit Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/cli/add_integration_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cli/add_integration_test.go b/pkg/cli/add_integration_test.go index 8bf612c6396..629a5bbf683 100644 --- a/pkg/cli/add_integration_test.go +++ b/pkg/cli/add_integration_test.go @@ -997,8 +997,8 @@ func TestAddWorkflowWithDispatchWorkflowDependency(t *testing.T) { defer setup.cleanup() // Add test-dispatcher.md which has a dispatch-workflow dependency on test-workflow. - // Use an explicit path spec so the file resolves unambiguously from the main branch. - workflowSpec := "github/gh-aw/.github/workflows/test-dispatcher.md@main" + // Pin to a commit before private: true was added to this workflow (e8ca23ae1d). + workflowSpec := "github/gh-aw/.github/workflows/test-dispatcher.md@6d18ddf" cmd := exec.Command(setup.binaryPath, "add", workflowSpec, "--verbose") cmd.Dir = setup.tempDir From 9c930c8c53ace954878ecda00c9c2f795d984717 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 18 Jun 2026 16:43:23 +0000 Subject: [PATCH 3/3] test: clarify pinned commit for dispatch dependency integration test Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/cli/add_integration_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/cli/add_integration_test.go b/pkg/cli/add_integration_test.go index 629a5bbf683..08c2f4cef36 100644 --- a/pkg/cli/add_integration_test.go +++ b/pkg/cli/add_integration_test.go @@ -997,8 +997,9 @@ func TestAddWorkflowWithDispatchWorkflowDependency(t *testing.T) { defer setup.cleanup() // Add test-dispatcher.md which has a dispatch-workflow dependency on test-workflow. - // Pin to a commit before private: true was added to this workflow (e8ca23ae1d). - workflowSpec := "github/gh-aw/.github/workflows/test-dispatcher.md@6d18ddf" + // Pin to the last public revision (6d18ddf01ec9aaac84f679ebecfcf6d66aa31153) + // before private: true was added in e8ca23ae1d. + workflowSpec := "github/gh-aw/.github/workflows/test-dispatcher.md@6d18ddf01ec9aaac84f679ebecfcf6d66aa31153" cmd := exec.Command(setup.binaryPath, "add", workflowSpec, "--verbose") cmd.Dir = setup.tempDir