From 0f2cc373e45672997e197c43eea487aeeb8afb80 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 27 Mar 2026 20:33:13 +0000 Subject: [PATCH] docs: document {agentic_workflow_url} template variable Add {agentic_workflow_url} to the custom messages variables list in safe-outputs.md and update the footer customization example in footers.md to use the new variable, noting that it links to the agentic workflow file view (run_url/agentic_workflow). Follows PR #23246 which changed the default footer link from run_url to agentic_workflow_url across all generated-by/updated-by templates. Co-Authored-By: Claude Sonnet 4.6 --- docs/src/content/docs/reference/footers.md | 4 ++-- docs/src/content/docs/reference/safe-outputs.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/content/docs/reference/footers.md b/docs/src/content/docs/reference/footers.md index befe6e744eb..38ff387b69b 100644 --- a/docs/src/content/docs/reference/footers.md +++ b/docs/src/content/docs/reference/footers.md @@ -130,12 +130,12 @@ Instead of hiding footers entirely, you can customize the footer message text us ```yaml wrap safe-outputs: messages: - footer: "> 🤖 Powered by [{workflow_name}]({run_url})" + footer: "> 🤖 Powered by [{workflow_name}]({agentic_workflow_url})" create-issue: title-prefix: "[bot] " ``` -The `messages.footer` template supports variables like `{workflow_name}`, `{run_url}`, `{triggering_number}`, and more. See [Custom Messages](/gh-aw/reference/safe-outputs/#custom-messages-messages) for complete documentation on message templates and available variables. +The `messages.footer` template supports variables like `{workflow_name}`, `{agentic_workflow_url}`, `{run_url}`, `{triggering_number}`, and more. `{agentic_workflow_url}` links directly to the agentic workflow file view for the run (equivalent to `{run_url}/agentic_workflow`), while `{run_url}` links to the plain Actions run page. See [Custom Messages](/gh-aw/reference/safe-outputs/#custom-messages-messages) for complete documentation on message templates and available variables. ## Related Documentation diff --git a/docs/src/content/docs/reference/safe-outputs.md b/docs/src/content/docs/reference/safe-outputs.md index 82d3e5ed242..9ead1ee0f4e 100644 --- a/docs/src/content/docs/reference/safe-outputs.md +++ b/docs/src/content/docs/reference/safe-outputs.md @@ -1512,7 +1512,7 @@ safe-outputs: **Options**: `append-only-comments` (default: `false`) -**Variables**: `{workflow_name}`, `{run_url}`, `{triggering_number}`, `{workflow_source}`, `{workflow_source_url}`, `{event_type}`, `{status}`, `{operation}` +**Variables**: `{workflow_name}`, `{run_url}`, `{agentic_workflow_url}`, `{triggering_number}`, `{workflow_source}`, `{workflow_source_url}`, `{event_type}`, `{status}`, `{operation}` ## Staged Mode