Commit graph

2864 commits

Author SHA1 Message Date
Sam Coe
1b79e95311
Clean up style nits and simplify some logic 2023-07-11 13:34:22 +09:00
Nate Smith
9decb5d4b3
Merge pull request #7314 from kousikmitra/fix/error-on-no-browser
Return error on no-browser option if repo don't exists
2023-07-10 16:35:27 -07:00
Nate Smith
4c918e90a6
Merge pull request #7398 from kousikmitra/feature/pr-fill-first
Feature: Add `fill-first` flag to `pr create`  command
2023-07-10 16:20:15 -07:00
Nate Smith
96d7274044
Merge pull request #7403 from joshkraft/gh-cache-command
Create `gh cache list`, `gh cache delete`
2023-07-10 16:00:57 -07:00
nate smith
5785ccb4ec fix typo 2023-07-10 15:31:46 -07:00
nate smith
a889bfab20 Merge remote-tracking branch 'origin/trunk' into fix/error-on-no-browser 2023-07-10 15:29:17 -07:00
Nate Smith
446aec715a
Merge pull request #7683 from iloveitaly/multiple-env-stdin-ex
docs: example of setting multiple vars using stdin
2023-07-10 15:24:21 -07:00
nate smith
557127c7ca remove stray print 2023-07-10 15:16:51 -07:00
Nate Smith
fad105c471
Merge pull request #7656 from cli/fix-issue-develop
Fix issue develop command
2023-07-10 12:59:15 -07:00
Nate Smith
4ba2f2ffb3
Merge pull request #7650 from vaindil/vaindil/rulesets
Add support for repository rulesets
2023-07-10 12:50:23 -07:00
Michael Bianco
c5b642fc5f
docs: example of setting multiple vars using stdin 2023-07-10 11:37:41 -06:00
Sam Coe
47d94f8ce7
Add --branch-repo flag 2023-07-10 08:53:44 +09:00
Raj Hawaldar
0d8c34bf59
Add --verify-tag to release edit command (#7646) 2023-07-07 14:23:39 +00:00
Nate Smith
3dd3fb0319
Merge pull request #7666 from cli/7651-fix
fix pr create crash on interactive milestone selection
2023-07-06 12:19:34 -07:00
David Gardiner
eeb60c9cc7
Merge pull request #7655 from josebalius/jg/support-random-port-conn-details 2023-07-06 12:14:36 -07:00
vaindil
d82c1193b3 make IDs cyan, add prompter test 2023-07-06 14:56:55 -04:00
Alex Petrov
343896fdac
Do not interpret "branch" placeholder in api command when GH_REPO is set (#7626)
* fix(api): do not interpret "branch" placeholder when `GH_REPO` is set

Before, we would always interpret the "branch" placeholder, typically
setting it to the currently checked-out branch in the repository in the
current working directory. It didn't make sense to do that when the
`GH_REPO` environment variable was specified because the repository
would likely be different from the one in the current working directory.

Now, we instead report an error if both `GH_REPO` environment variable
and `branch` placeholder are specified.
2023-07-06 07:05:40 +00:00
Sean Bright
6f99fd8442
Always show created gist privacy status. (#7645) 2023-07-06 06:22:50 +00:00
whi-tw
a7e2fc49b0
Use SmartBaseRepoFunc for api command (#7594) 2023-07-06 15:02:32 +09:00
Johannes Grumböck
8a7d80864b
Add check description to pr checks output (#7451) 2023-07-06 14:38:44 +09:00
nate smith
6c9de6258c fix pr create crash on interactive milestone selection 2023-07-05 16:08:49 -07:00
vaindil
ab921f96e6 split org/repo graphql queries, better tests 2023-07-05 15:13:09 -04:00
vaindil
069faef86c refactor graphql query a bit 2023-07-05 14:29:52 -04:00
vaindil
dcefe340ad add rs check tests 2023-07-05 13:57:19 -04:00
vaindil
159ac8ba0e fix merge errors 2023-07-05 13:57:19 -04:00
vaindil
77df68e11a misc cleanup 2023-07-05 13:57:19 -04:00
vaindil
e4aa5ba84c add ruleset check command 2023-07-05 13:57:19 -04:00
vaindil
5c5dcd2a80 initial view tests 2023-07-05 13:57:19 -04:00
vaindil
3add672132 list test updates 2023-07-05 13:57:19 -04:00
vaindil
2f7caf8502 update bypass response and parents logic, tests 2023-07-05 13:57:19 -04:00
vaindil
8328a0abdc update tests, add rules to view command 2023-07-05 13:57:19 -04:00
vaindil
f25b2af053 interactive ruleset selection, move shared logic 2023-07-05 13:57:19 -04:00
vaindil
ef30d875b5 gracefully handle missing admin:org scope 2023-07-05 13:57:19 -04:00
vaindil
8fa69c4915 don't allow both --repo and --org, add docs 2023-07-05 13:57:19 -04:00
vaindil
e91670edcc split ruleset types by API type 2023-07-05 13:57:19 -04:00
vaindil
3e6419237d allow getting parents, move list to shared package 2023-07-05 13:57:19 -04:00
vaindil
7f81645c78 basic ruleset view works 2023-07-05 13:57:19 -04:00
vaindil
5155844d7f updates, initial list test 2023-07-05 13:57:19 -04:00
vaindil
7b2c8aba8c refactor and support org rulesets 2023-07-05 13:57:19 -04:00
vaindil
bb9a9fa3c2 GQL query works but it's messy 2023-07-05 13:57:19 -04:00
vilmibm
a742e9f8df wip 2023-07-05 13:57:19 -04:00
vilmibm
24911ffa24 start on rs list 2023-07-05 13:57:19 -04:00
vilmibm
79113bd304 start writing up structs for rules API payloads 2023-07-05 13:57:19 -04:00
vilmibm
bcb4194692 WIP compute branch, call API 2023-07-05 13:57:19 -04:00
vilmibm
87fabebb68 start on gh rs 2023-07-05 13:57:19 -04:00
Sam Coe
b59f3dc29f
Rewrite issue develop command to fix numerous issues 2023-07-03 14:18:25 +09:00
William Martin
491e9e8e58
Ensure gist edit request body matches desired schema (#7635)
* Ensure gist edit request body matches desired schema

* Immediately transform gist to gistToUpdate in edit flow

* Remove maps package and change to NewFilename
2023-07-03 13:33:49 +09:00
Shion Ichikawa
5e8cc40f6c
Automatically fetch new branches created with issue develop (#7589) 2023-07-03 11:21:42 +09:00
Jose Garcia
37d8e9e915 Support --server-port behavior with conn details 2023-07-02 20:55:56 -04:00
rajhawaldar
984358444d
gh run cancel needs input validation 2023-06-30 18:55:23 +05:30