Commit graph

4052 commits

Author SHA1 Message Date
Sam Coe
583e74d70c
Add support for XDG_STATE_HOME 2021-05-25 16:30:51 -04: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
Sam
6b49b487e2
Merge pull request #3707 from cli/fix-test-env
Fix test that was deleting local config folder
2021-05-24 18:41:41 -04:00
Sam Coe
972d5ff5f0
Fix test that was deleting local config folder 2021-05-24 18:35:37 -04: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
Sam
045089c483
Merge pull request #3671 from cli/xdg-config
Add support for XDG_CONFIG_HOME and AppData on Windows
2021-05-24 16:22:36 -04:00
Sam Coe
0d49bfba42
Add support for XDG_CONFIG_HOME and AppData on Windows 2021-05-24 16:13:33 -04: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
mercimat
a612f06dee fix pr review requests for teams 2021-05-24 17:00:25 +02:00
Mislav Marohnić
b9a4a425bf Fix pr checkout for PRs coming from deleted forks 2021-05-24 16:52:53 +02:00
Mislav Marohnić
55b183f3c9
Merge pull request #3697 from sadikkuzu/patch-1
Capitalized h
2021-05-24 12:27:21 +02:00
jlsestak
6b8f1f68c8
Merge pull request #9 from jlsestak/trunk
Added errors and started defining the the path for flags and args to …
2021-05-23 19:10:31 -07: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
SADIK KUZU
0da3a19526
Capitalized h 2021-05-24 04:04:05 +03:00
Husrav Homidov
aa7acb7272
Merge pull request #7 from ravocean/trunk
Added flags: --settings, --projects, and --wiki
2021-05-23 16:02:51 -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
Husrav Homidov
c359b3e454
Merge pull request #5 from ravocean/trunk
Added parseArgs() function, beginning to work on parseFlags() functions
2021-05-23 15:34:08 -07:00
ravocean
6e7cd6fd05 Added parseArgs() function, beginning to work on parseFlags() functions 2021-05-23 15:31:01 -07:00
Benjamin Chadwick
8d1dee4cd4
Merge pull request #2 from jlsestak/trunk
Update browse.go
2021-05-23 12:36: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ć
09a92c6e1d
Merge pull request #3688 from cli/pr-merge-fix
Fix `pr merge` with GHE < 3.0
2021-05-21 19:30:32 +02: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
Dan Greene
ca04e21921
Merge pull request #3681 from dgreene1/trunk
Describes usage in Github Actions
2021-05-20 20:03:44 +02:00
Nate Smith
4842b69b6b
Merge pull request #3672 from cli/deb-doc
simplify deb installation docs
2021-05-20 09:50:36 -07:00
vilmibm
3e21da9167 just use stable 2021-05-20 11:44:50 -05:00
Mislav Marohnić
48f114dae4
Merge pull request #3668 from tklauser/uniseg-bump
Bump github.com/rivo/uniseg to v0.2.0
2021-05-20 13:40:57 +02:00
Gowtham Munukutla
bc4be19319 lint repair 2021-05-20 12:28:26 +05:30
Gowtham Munukutla
31854f0b25 add extra age column and repair tests 2021-05-20 12:24:47 +05:30
Ben
b8de5c87e1 removed help message for non error operation 2021-05-19 22:45:03 -07:00
Gowtham Munukutla
6b0a07f22e Merge branch 'trunk' of https://github.com/cli/cli into feature/action-headers 2021-05-20 10:59:14 +05:30
Ben
d8c20faa65 added in a help dialogue and error message 2021-05-19 22:14:58 -07:00
Ben
daf27af34a only accepts 1 arg at most 2021-05-19 19:17:14 -07:00
vilmibm
2d704ba591 bonus: support sid 2021-05-19 16:51:58 -05:00
vilmibm
320ab8ad31 restore header, use an emoji 2021-05-19 16:20:01 -05:00
Ben
14a40fb0db added a return statement to avoid a segmentation fault on a null baseRepo, error handling will be improved more later 2021-05-19 13:13:23 -07:00
Ben
697ff425a8 disregard 2021-05-19 13:09:30 -07:00
Ben
097dd25884 redefined how gh browse opens the repo. We now use the BaseRepo to extract the correct paths. This should make it easier to navigate to other directories within the repo using the repoUrl variable created 2021-05-19 12:57:56 -07:00
Tobias Klauser
7ed4204dfc Bump github.com/rivo/uniseg to v0.2.0
Changes: https://github.com/rivo/uniseg/compare/v0.1.0...v0.2.0

This speed up and reduces the memory footprint of `uniseg.NewGraphemes`,
used in `pkg/text`.
2021-05-19 19:14:56 +02:00
vilmibm
6c5b690bbe simplify deb installation docs 2021-05-19 12:13:29 -05:00
Mislav Marohnić
6aedba38c4
Merge pull request #3666 from cli/fix-windows-config
Fix creating Windows directory for gh config
2021-05-19 17:18:18 +02:00