cli/pkg/cmd/pr
nobe4 db93444ba9
feat(merge): add owner/repo in prompt
Various places during the `gh pr merge` flow show the PR number and
title. Those places are updated to also show the owner/repo.

E.g.
Before:
  Pull request #123 (title) is ready to be merged
After:
  Pull request owner/repo#123 (title) is ready to be merged

There are other places, where only the number is displayed. Those were
intentionally left as is. It made sense to show the owner/repo only when
the extra context of the title was present.

It also fixes the related tests.

cc #8777
2024-03-01 13:26:20 +01:00
..
checkout switch to [] characters for default info in usage strings 2024-02-01 21:35:31 +00:00
checks Add headers to all tables (#8157) 2023-10-20 11:20:02 +02:00
close revert revert 57fbe4f317 (#6474) 2022-10-20 12:17:20 +00:00
comment Fix fetching issue/PR comments 2022-12-23 17:14:06 +01:00
create Use regex to split apart the git client Commit logs 2024-02-27 20:49:00 +01:00
diff Wrap cli flags in backticks uniformly 2023-11-16 22:54:27 +08:00
edit Wrap scopes 2023-11-23 07:22:57 +08:00
list Fix PR and Issue list 2023-11-27 17:00:10 +01:00
merge feat(merge): add owner/repo in prompt 2024-03-01 13:26:20 +01:00
ready Wrap cli flags in backticks uniformly 2023-11-16 22:54:27 +08:00
reopen Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
review Change markdown wrap limit match terminal width (#6016) 2022-09-01 07:36:25 +00:00
shared Update pkg/cmd/pr/shared/finder_test.go 2023-11-27 15:18:13 +01:00
status Add cmd test for pr status with counts by state 2023-05-24 16:00:34 +02:00
view fix: Prevent nil dereference in pr view. (#8566) 2024-01-17 22:12:22 +00:00
pr.go Group PR, release, and repo subcommands 2022-12-21 14:47:59 +01:00