Add branch name to gh pr list - #3
Merged
Merged
Conversation
mislav
approved these changes
Oct 8, 2019
| {{- if . }} | ||
| {{- range .}} | ||
| #{{.Number}} {{.Title}} | ||
| #{{.Number}} {{.Title}} {{cyan "[" .HeadRefName "]"}} |
Contributor
There was a problem hiding this comment.
Should the branch name also include the OWNER: portion if the pull request is coming from a different repo? This would match how head branches are shown on GitHub web.
Contributor
Author
There was a problem hiding this comment.
That's a good idea. When this goes into master let's do it!
tierninho
self-requested a review
October 9, 2019 01:44
jtmcg
added a commit
that referenced
this pull request
Mar 12, 2025
…mers (#3) * Separate partitioning from globbing in cmdutil/args package and consumers In the previous commit, GlobPaths was overloaded, containing logic specific to command use-cases. This commit removes that functionality from GlobPaths and back into the commands that have the special use-cases. To do this, I've introduced a new Partition util in cmdutil/args.go that will separate a slice into two slices given a predicate. This functionality is leveraged by both the special use-cases described above to separate the command-specific syntax from the globable filepaths. * Add test to validate that the order of '-' in gh gist create args doesn't matter
williammartin
added a commit
that referenced
this pull request
Mar 17, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.


It was bugging me that our text prototypes had the branch name in the PR list but our prototype didn't. Now that we use graphql to get PR information we can display the branch names!
Here is what it looks like in this PR.
