Mislav Marohnić
49609350af
Merge pull request #3737 from cli/requested-reviewers-slug
...
Fix how teams are displayed in requested reviewers
2021-06-02 08:48:11 +02:00
jack1142
184149b844
Add missing new line
2021-06-01 23:53:58 +02:00
Mislav Marohnić
fce93d6080
Experimental command extensions support
...
Extensions are looked up as `~/.config/gh/extensions/gh-*`.
Additionally, any executables found in PATH named `gh-*` are available
as `gh <command>`.
2021-06-01 17:15:20 +02:00
ravocean
6391bf5801
Starter code for testing
2021-05-31 16:39:10 -07:00
bchadwic
798e03cf15
working on testing browse.go
2021-05-31 15:21:15 -07:00
ttran112
52e7b7cc86
added the message to help the user navigate github
2021-05-31 14:08:15 -07:00
Jessica Sestak
0bfeb8926a
Fixed error messages, added repo override
2021-05-31 13:02:05 -07:00
Tyler Wright
e5bdaaab2c
Add ability to list environment secrets
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-05-31 21:15:10 +02:00
ravocean
a8a01badf1
Finished refactoring (addCombined)
2021-05-31 11:42:48 -07:00
Mislav Marohnić
260f720c07
💅 refactor and add tests for Secrets pagination
2021-05-31 20:40:53 +02:00
Gowtham Munukutla
cb60538709
paginate to get all secrets at once
2021-05-31 20:39:32 +02:00
Husrav Homidov
2444e4aadc
Merge branch 'bchadwic:trunk' into trunk
2021-05-31 10:59:35 -07:00
bchadwic
c162a28099
started to refactor the code base
2021-05-31 10:57:16 -07:00
Husrav Homidov
ab037b0e74
Merge branch 'cli:trunk' into trunk
2021-05-31 10:11:40 -07:00
ttran112
5077d4794c
fixed the 404 edge case error
2021-05-30 20:25:11 -07:00
Gowtham Munukutla
5c96d5d460
fix lint errors
2021-05-30 13:53:56 +05:30
Gowtham Munukutla
c4beed8276
complete tests
2021-05-30 13:42:39 +05:30
Gowtham Munukutla
9b87b13b80
add test cases WIP
2021-05-29 19:27:30 +05:30
jack1142
42333bb2d1
Update issue non-tty view formatting and its tests
2021-05-29 04:44:48 +02:00
jack1142
979ec9298d
Update issue tty view formatting and its tests
2021-05-29 04:44:48 +02:00
jack1142
3943a8bb1f
Update PR tty view formatting and its tests
2021-05-29 04:44:34 +02:00
Mislav Marohnić
1a980e768c
Fix how teams are displayed in requested reviewers
...
1. The `--json` export now only renders the `login` field for User types
and `name` and `slug` fields for Team types.
2. The `pr view` command now renders team reviewers in the format of
`ORG/SLUG` instead of the team name. This is so that the same value
can be used in the `pr create -r` flag.
2021-05-28 14:32:31 +02:00
Gowtham Munukutla
e160dd3eae
fix listing of PRs when merged ones are searched ( #3730 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-05-28 10:11:12 +00:00
Husrav Homidov
53dff30ab0
Merge branch 'cli:trunk' into trunk
2021-05-26 19:32:29 -07:00
ttran112
cb3792051a
fix minor error and add branchName for addArgs, addCombine
2021-05-26 19:27:07 -07:00
ttran112
3a48c35bc6
fix addArgs and combine by addding branchName parameter
2021-05-26 17:45:42 -07:00
Jessica Sestak
88ce5320f6
made branch and line flags, fixed path
2021-05-25 23:04:42 -07:00
Jessica Sestak
a65266bf36
added combination of args, partial fix to args
2021-05-25 22:47:08 -07:00
ravocean
1e61f41cd9
Tidied up the logic of openInBrowser
2021-05-25 21:42:42 -07:00
Ben
50af6c1658
broke the flag checking into a separate function, and created a http response checker function
2021-05-25 17:54:23 -07:00
Mislav Marohnić
053d43f705
Fix pr checkout setting up git push configuration
2021-05-25 15:43:18 +02:00
bchadwic
24abf29acb
created a test file
2021-05-24 21:16:37 -07:00
Cristian Dominguez
325886c0e4
Only schedule an auto-merge when PR state is blocked
...
When passing `--auto` flag, only schedule an auto-merge if
the `mergeStateStatus` field is "BLOCKED".
This ensures that a PR will always be merged when passing `--auto` even
if it doesn't have required checks or if checks have already passed.
2021-05-24 18:45:59 -03:00
bchadwic
70e72afdcc
cleaned up, added suggestion to 404 handling
2021-05-24 13:06:33 -07:00
bchadwic
fdca340b28
simplified the if block for flags, now allows for checking destination before opening browser
2021-05-24 12:53:17 -07:00
bchadwic
88e2a9f748
cleaned logic and added in a print function that takes in an exitCode
2021-05-24 12:48:32 -07:00
Mislav Marohnić
b9a4a425bf
Fix pr checkout for PRs coming from deleted forks
2021-05-24 16:52:53 +02:00
Jessica Sestak
edebfa104b
Added errors and started defining the the path for flags and args to open in the browser.
2021-05-23 19:04:38 -07:00
ravocean
b22519309f
Fixed the name of projects flag
2021-05-23 16:01:18 -07:00
ravocean
e4b2ec202d
We added a few flags based on priority
2021-05-23 15:57:29 -07:00
ravocean
6e7cd6fd05
Added parseArgs() function, beginning to work on parseFlags() functions
2021-05-23 15:31:01 -07:00
Benjamin Chadwick
f66a086a5d
Merge branch 'trunk' into trunk
2021-05-23 12:35:53 -07:00
jlsestak
e4e8b77c7d
Update browse.go
2021-05-23 12:30:27 -07:00
jlsestak
bab7b498ec
Update browse.go
2021-05-23 12:23:33 -07:00
Nate Smith
c49c7f4de2
Merge pull request #3575 from g14a/feature/action-headers
...
add column headers and age column in listing runs
2021-05-21 15:41:16 -05:00
Mislav Marohnić
0208620a6f
Remove unnecessary commits stubs from fixtures
2021-05-21 17:37:21 +02:00
Mislav Marohnić
6bec7a956a
Fix pr merge on GHE < 3.0
...
This avoids loading authorship information for git commits, since it
relies on a GraphQL API that wasn't available before GHE v3.0. The
authorship information wasn't necessary for the merge operation anyway;
just loading the last commit OID was.
2021-05-21 17:35:41 +02:00
Gowtham Munukutla
9c614247a6
lint fix
2021-05-21 09:36:23 +05:30
Gowtham Munukutla
605f785c70
use fuzzy abbr to display age
2021-05-21 09:33:55 +05:30
Gowtham Munukutla
bc4be19319
lint repair
2021-05-20 12:28:26 +05:30