Branch name on the Action run page #190685
Replies: 3 comments 1 reply
-
|
Totally agree this would be a useful addition. A small workaround for now — you can see the branch name in the URL of the Action run page itself, it follows the pattern refs/heads/your-branch-name in the workflow trigger details. Also if you click "Workflow file" in the Run details section on the left, the branch context is sometimes visible there. |
Beta Was this translation helpful? Give feedback.
-
|
Workaround: Get the branch name without leaving the logs page While a sticky branch name in the UI would be a great improvement, here's a quick workaround that avoids losing your place in the logs:
gh run view 2872 --repo shine-sports/shine-websitethis prints the branch name (
the real fix would be for GitHub to expose the triggering branch as a sticky element in the job sidebar (next to the run number |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Code Search and Navigation
Body
It would be super-useful to have the branch name somewhere on the Action run page:
The way to do this currently is by clicking the link on the top left of the page to go back to the pull request where the branch name is listed at the top...
However, this link doesn't show when you're scrolled down and looking at your error logs. This means you lose your place in the pipeline output to get to it. Which is a bit annoying.
It would be great to have the branch name that the action is running on follow you as you scroll up and down the Action runs page.
Beta Was this translation helpful? Give feedback.
All reactions