fix: link default footers to workflow run URL instead of agentic_workflow subpage#31611
Merged
Merged
Conversation
…ult footers
Change the default footer link target from the `/agentic_workflow` subpage
(runUrl + "/agentic_workflow") to the plain workflow run URL, so that the
run summary is visible and the app can detect the standard actions/runs URL
format. The {agentic_workflow_url} placeholder is still available for custom
footer templates.
Co-authored-by: pelikhan <[email protected]>
Copilot
AI
changed the title
fix: use workflow run URL instead of agentic workflow subpage in default footers
fix: link default footers to workflow run URL instead of agentic_workflow subpage
May 12, 2026
Copilot created this pull request from a session on behalf of
pelikhan
May 12, 2026 01:37
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes default footer links to point to the standard GitHub Actions run URL (.../actions/runs/{id}) instead of the .../agentic_workflow subpage, while keeping {agentic_workflow_url} available for custom templates.
Changes:
- Updated all default footer templates in
messages_footer.cjsto use{run_url}rather than{agentic_workflow_url}. - Updated unit tests to assert the new default footer link shape and to confirm
{agentic_workflow_url}still works for custom footers.
Show a summary per file
| File | Description |
|---|---|
| actions/setup/js/messages_footer.cjs | Switches default footer templates to link to {run_url} while preserving computed {agentic_workflow_url} for custom templates. |
| actions/setup/js/messages.test.cjs | Updates expectations for default footers and adds/adjusts coverage for custom templates using {agentic_workflow_url}. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug Fix
What was the bug?
Default footer links pointed to
{runUrl}/agentic_workflow— the agentic workflow tab within a run. This subpage doesn't surface the run summary and isn't detected by the bile app, which keys on the standardactions/runs/{id}URL shape.How did you fix it?
Replaced
{agentic_workflow_url}with{run_url}in all five default footer template strings inmessages_footer.cjs:getFooterMessagegetFooterWorkflowRecompileMessagegetFootowrkflowRecompileCommentMessagegetFooterAgentFailureIssueMessagegetFooterAgentFailureCommentMessageBefore:
After:
The
{agentic_workflow_url}placeholder is still computed and injected into the template context, so custom footers configured viaGH_AW_SAFE_OUTPUT_MESSAGEScan still opt into it.