Skip to content

Update details to include link to workflow runs#59

Closed
sjohnr wants to merge 1 commit intoGamesight:masterfrom
sjohnr:workflow-run-link
Closed

Update details to include link to workflow runs#59
sjohnr wants to merge 1 commit intoGamesight:masterfrom
sjohnr:workflow-run-link

Conversation

@sjohnr
Copy link
Copy Markdown
Contributor

@sjohnr sjohnr commented Dec 14, 2023

This PR links the workflow name to the list of workflow runs. We've found this customization useful as we can immediately see the entire list of runs for this specific workflow from the link.

Screenshot 2023-12-14 at 11 55 27 AM

rsyvarth added a commit that referenced this pull request Apr 25, 2026
The workflow name in the details line now links to
{repo}/actions/workflows/<file>?query=branch:<branch>, so clicking it
takes you to past runs of the same workflow on the current branch.
@rsyvarth
Copy link
Copy Markdown
Member

Shipped in 2a94739. Implementation differs slightly: uses path.basename(workflow_run.path) instead of a string .replace, and drops the as any cast since we're on @actions/github v6 with proper types. Thanks @sjohnr for the design — the link format and the branch-query parameter are exactly as you proposed.

@rsyvarth rsyvarth closed this Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants