From 0beb1c29d51f7f276d18c1cb3315871ea1fff4e5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Feb 2026 12:45:44 +0000 Subject: [PATCH 1/2] Initial plan From 291cc530e72665648893e2f2864100497eca81dc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Feb 2026 12:50:45 +0000 Subject: [PATCH 2/2] feat: reformat footer install message to use code block and hyperlinked 'agentic workflow' Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- actions/setup/js/messages.test.cjs | 3 ++- actions/setup/js/messages_footer.cjs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/actions/setup/js/messages.test.cjs b/actions/setup/js/messages.test.cjs index c4fcf7f6ddd..deb45c6578b 100644 --- a/actions/setup/js/messages.test.cjs +++ b/actions/setup/js/messages.test.cjs @@ -267,7 +267,8 @@ describe("messages.cjs", () => { }); expect(result).toContain("gh aw add owner/repo/workflow.md@main"); - expect(result).toContain("View source at"); + expect(result).toContain("[agentic workflow](https://github.com/owner/repo)"); + expect(result).not.toContain("View source at"); }); it("should use custom install template", async () => { diff --git a/actions/setup/js/messages_footer.cjs b/actions/setup/js/messages_footer.cjs index d61f50f091d..364bef100cd 100644 --- a/actions/setup/js/messages_footer.cjs +++ b/actions/setup/js/messages_footer.cjs @@ -61,7 +61,7 @@ function getFooterInstallMessage(ctx) { const templateContext = toSnakeCase(ctx); // Default installation template - const defaultInstall = "> To install this workflow, run `gh aw add {workflow_source}`. View source at [{workflow_source_url}]({workflow_source_url})."; + const defaultInstall = "> To install this [agentic workflow]({workflow_source_url}), run\n> ```\n> gh aw add {workflow_source}\n> ```"; // Use custom installation message if configured return messages?.footerInstall ? renderTemplate(messages.footerInstall, templateContext) : renderTemplate(defaultInstall, templateContext);