Heath Stewart
cd63b0eac5
Add more help to "template" flags
...
Resolves #6089
2022-09-17 23:12:48 -07:00
Caleb Brose
0c00ca911e
Clean up API interface
2022-09-16 22:25:11 +00:00
Caleb Brose
939c7c71cd
Remove API call for ssh keys
2022-09-16 22:22:13 +00:00
Chris Westra
9a38142a0f
Add tests, update stubs for feature detection
2022-09-16 13:38:51 -04:00
lpessoa
e8767b9706
feat: adding checks at GH PR view
...
Fixes #6117
Adding checks to PR view as a new line along with changes information.
Isolated 'status' display logic into a shared method in order to reuse it in 'view'.
Updated existing 'view' tests.
TODO: add new tests for PRs with checks.
2022-09-16 13:56:10 -03:00
Chris Westra
76d975524e
Add feature detection query
2022-09-16 12:13:22 -04:00
Chris Westra
6f0bf82696
Properly check for omitted name param, fix stubs
2022-09-16 10:41:10 -04:00
Ashwin Jeyaseelan
b47ed57694
Revert "Revert "Added functionality for org-level codespaces secrets ( #6171 )" ( #6223 )"
...
This reverts commit eaabd35b76 .
2022-09-15 15:53:28 -07:00
Mislav Marohnić
27294c197f
gist clone: fix clone URL for GHE gists
...
Use `HOSTNAME/gist/ID` instead of `gist.HOSTNAME/ID` as clone URL for
Enterprise since it's not guaranteed that the `gist.` subdomain is
configured for a GHE instance.
2022-09-15 18:25:16 +02:00
Mislav Marohnić
cfb7e66d2b
Merge pull request #6260 from cli/fix-branch-delete
...
Fix deleting remote branches with `#` in their name
2022-09-15 11:06:04 +02:00
Chris Westra
1f26eb6899
Merge branch 'trunk' into create-linked-branch-command
2022-09-14 16:28:54 -04:00
Chris Westra
79783162f4
self-review cleanup
2022-09-14 16:26:49 -04:00
Chris Westra
bc72d6b983
Omit name param from mutation when blank
...
As it currently sits the backend won't ignore the param. I'll be looking to
add a PR for this but for now we'll remove it.
2022-09-14 14:54:43 -04:00
Chris Westra
48512176d8
Error when issue-repo doesn't match issue url
2022-09-14 11:57:51 -04:00
Mislav Marohnić
984cc9f441
Fix tests
2022-09-14 17:05:43 +02:00
Sam Coe
a30de8d72a
Output paid message for codespace create to stderr not stdout ( #6258 )
2022-09-14 11:33:55 +00:00
Sam Coe
e14d14cef2
Add support for issue state reason ( #6245 )
2022-09-14 12:39:15 +04:00
Sam Coe
e7102f9d84
Migrate to go-gh text package ( #6236 )
2022-09-14 09:23:55 +04:00
Chris Westra
0f1924ba7e
WIP tests for --list flag
2022-09-13 17:06:27 -04:00
vilmibm
8f3032af36
use Prompter in auth commands
2022-09-13 13:22:50 -07:00
Chris Westra
07e84ea7a9
Add tests for checkout flag
2022-09-13 15:01:19 -04:00
Chris Westra
398c86b8a2
Use shared fn to look up issue and its repo
2022-09-13 10:47:57 -04:00
Chris Westra
ac4fc388bf
List linked branches works
2022-09-13 07:28:33 -04:00
Chris Westra
8cf8a16e6a
WIP add --checkout option
2022-09-12 17:20:24 -04:00
Chris Westra
6248e62611
Use GraphQLQuery test helper
...
GraphQLMutation expects a single `input` variable
2022-09-12 11:28:49 -04:00
Chris Westra
e1b83496fa
Make sure struct fields are public
2022-09-12 10:30:38 -04:00
Sam Coe
4bd5c2db9d
Rely on go-gh browser resolution ( #6237 )
2022-09-12 13:23:36 +04:00
ffalor
e5b37ee661
add --required flag to gh pr checks ( #5648 )
2022-09-10 08:00:29 +00:00
Ashwin Jeyaseelan
eaabd35b76
Revert "Added functionality for org-level codespaces secrets ( #6171 )" ( #6223 )
...
This reverts commit bde64b3191 .
2022-09-09 08:18:03 +04:00
Chris Westra
2e98e8a4a7
Get that test mostly working
2022-09-08 17:17:06 -04:00
Chris Westra
5734df806b
FIll in all the missing stuff in the test setup
2022-09-08 12:18:37 -04:00
Chris Westra
5f3f00f909
WIP
2022-09-08 10:04:12 -04:00
Ashwin Jeyaseelan
bde64b3191
Added functionality for org-level codespaces secrets ( #6171 )
2022-09-08 09:40:53 +04:00
Chris Westra
0e1bae7be0
WIP
2022-09-06 17:04:37 -04:00
Mislav Marohnić
a6636994bf
Disable flakey ports update visibility tests ( #6203 )
2022-09-06 15:31:36 +00:00
Mislav Marohnić
436d9ef859
Fix "missing method Fd" crash on Windows ( #6200 )
...
This ensures that `IOStreams.Out` always keeps the original `Fd()` value even if it's wrapped as a Colorable stream for Windows in cases when enabling virtual terminal processing has failed.
2022-09-06 17:29:06 +02:00
Bindu
9fddb07eab
Add --notes-start-tag flag for generating release notes in gh release create ( #6107 )
2022-09-06 16:06:18 +04:00
Anthony Fok
c219579c63
Bump github.com/spf13/cobra from v1.4.0 to v1.5.0 ( #6196 )
2022-09-06 09:43:40 +04:00
Chris Westra
152b861001
WIP
2022-09-01 16:36:48 -04:00
Takeshi Sato
e2f344fef4
Add --clobber / --skip-existing to release download ( #6053 )
2022-09-01 12:28:25 +00:00
Mark Woods
e876b22963
Change markdown wrap limit match terminal width ( #6016 )
2022-09-01 07:36:25 +00:00
ffalor
665e4e3446
Add new commands issue pin and issue unpin ( #5597 )
2022-08-31 10:16:45 +00:00
Wheeler Law
8cd9641284
Add newline to body when viewing machine readable release ( #6108 )
2022-08-31 10:29:38 +04:00
Natthakit Susanthitanon
ac036c1c5b
Fix browse issue with leading hashtag ( #6144 )
2022-08-29 10:58:46 +00:00
Chris Westra
711591c92b
WIP
2022-08-26 15:25:19 -04:00
Sam Coe
2fc0ffd0be
Fix auth refresh prompter initialization ( #6141 )
...
* Fix prompter not being initialized in auth refresh
* fix broken issue list test
2022-08-25 12:07:40 +03:00
satotake
b3ab76818c
Refactor issue list and pr list tests
...
following #6085
* Inject fake `Now` function to tests of `issue list` / `pr list`
* Remove `regexp` from the tests
2022-08-25 00:01:29 +09:00
Sam Coe
6955db471d
Set default value for all Select prompts ( #6131 )
2022-08-24 09:10:38 +03:00
chemotaxis
7a5ed08185
Test reasonsMap construction
...
Make sure reasons were added in the correct order.
2022-08-23 23:24:42 -04:00
chemotaxis
077ab39738
Implicitly return the nil value when no lock reason given
...
While I usually like explicitly setting all values, getting rid of
setting the empty string streamlines map construction and testing.
The reasonsMap will return the nil value because the empty string is not
in the map.
2022-08-23 23:16:15 -04:00