Commit graph

6749 commits

Author SHA1 Message Date
Nate Smith
4ba2f2ffb3
Merge pull request #7650 from vaindil/vaindil/rulesets
Add support for repository rulesets
2023-07-10 12:50:23 -07: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
Nate Smith
10a48b0d1f
Merge pull request #7665 from cli/dependabot/go_modules/google.golang.org/grpc-1.53.0
build(deps): bump google.golang.org/grpc from 1.49.0 to 1.53.0
2023-07-05 15:22:57 -07:00
dependabot[bot]
4f334d72e6
build(deps): bump google.golang.org/grpc from 1.49.0 to 1.53.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.49.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.49.0...v1.53.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 21:28:57 +00: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
dependabot[bot]
b1a3b9986e
build(deps): bump github.com/henvic/httpretty from 0.1.1 to 0.1.2 (#7657)
Bumps [github.com/henvic/httpretty](https://github.com/henvic/httpretty) from 0.1.1 to 0.1.2.
- [Commits](https://github.com/henvic/httpretty/compare/v0.1.1...v0.1.2)

---
updated-dependencies:
- dependency-name: github.com/henvic/httpretty
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 08:18:06 +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
Jose Garcia
fd01fb71ad
Update httpretty to released version (#7654) 2023-07-03 09:03:30 +09:00
Nate Smith
0809eb7247
Merge pull request #7647 from rajhawaldar/ghRunCancelInputValidation 2023-06-30 10:31:03 -07:00
rajhawaldar
984358444d
gh run cancel needs input validation 2023-06-30 18:55:23 +05:30
Sam Coe
d21c11d774
Add tenancy support (#7636) 2023-06-30 11:20:53 +00:00
Kamil Zuzda
5a0f892d4a
Add title to iteration and milestone fields for projects (#7621) 2023-06-29 11:10:01 +09:00
leavesster
d871da679b
Change how remotes are treated during pr create when repo is forked (#7330) 2023-06-28 04:07:42 +00:00
Sam Coe
5e2e818204
Small tweaks to auth refresh remove-scopes and reset-scopes flags (#7631) 2023-06-27 16:33:52 +09:00
Sam Coe
d46f47e430
Don't deduplicate checks that stem from different events (#7618) 2023-06-27 09:12:52 +09:00
William Martin
c4e648a8ea
Merge pull request #7597 from n1lesh/n1lesh-remove-scope
Add remove/reset to auth refresh
2023-06-26 22:54:51 +02:00
Nilesh Singh
0ddf32d589 Add cli test to remove multiple scopes at once 2023-06-26 23:52:55 +05:30