Commit graph

6727 commits

Author SHA1 Message Date
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
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
Nilesh Singh
becccebae1 Refactor as per review
Co-authored-by: Shion Ichikawa <shion1305@gmail.com>
2023-06-25 01:30:09 +05:30
Nilesh Singh
2a436cde3d
Merge branch 'trunk' into n1lesh-remove-scope 2023-06-25 00:03:12 +05:30
Kousik Mitra
baba894997
Add option to remove file from gist (#7560) 2023-06-23 14:08:21 +02:00
Sam Coe
ddfe476ff9
Remove old code paths and improve code comments for repo sync (#7610) 2023-06-23 11:32:48 +00:00
William Martin
ddd27a5897
Merge pull request #7612 from cli/wm/repo-sync-workflow-scope
Early exit repo sync if merge-upstream requires workflow scope
2023-06-23 08:52:03 +02:00
William Martin
fa8b514bf1 Early exit repo sync if merge-upstream requires workflow scope 2023-06-21 15:47:33 +02:00
Sam Coe
bf7db84ca8
Add timeouts to keyring operations (#7580) 2023-06-20 23:45:20 +00:00
Nate Smith
39a8230b07
Merge pull request #7540 from rajhawaldar/gh_Auth_Status_WriteToStdOutOnSuccess
update gh auth status to write to stdout on success
2023-06-20 12:51:50 -07:00
ffalor
31ffa6b499
Alphabetically sort labels for pr/issue view (#7587) 2023-06-20 11:30:03 +09:00
Ariel Deitcher
1b497221bc
output URL on project commands (#7578)
* output URL on project commands

* do not put useless URL in output
2023-06-20 10:09:26 +09:00
Naoya Yasuda
08114f981e
refactor: nest if (#7596) 2023-06-20 09:27:08 +09:00
Sam Coe
78839dbe0b
Fix alias import clobber flag (#7569) 2023-06-20 09:21:31 +09:00
Sam Coe
9be9dc22e9
Fix error handling for extension and shell alias commands (#7567) 2023-06-20 08:41:02 +09:00
Nilesh Singh
4ec6ece95a
Merge branch 'trunk' into n1lesh-remove-scope 2023-06-19 22:02:38 +05:30
Nilesh Singh
0d9e0bc91a Add remove/reset to auth refresh 2023-06-19 21:56:15 +05:30
guangwu
8587851202
chore: pkg imported more than once (#7591) 2023-06-19 01:55:27 +00:00
rajhawaldar
b8302311fa
Added wantErrOut property 2023-06-15 09:08:06 +05:30
Mislav Marohnić
beb6234f96
Speed up listing extensions by lazy-loading extension information when needed (#7493) 2023-06-14 09:33:18 +09:00
Nate Smith
84940e6d6d
Merge pull request #7576 from cli/dependabot/go_modules/github.com/AlecAivazis/survey/v2-2.3.7
build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7
2023-06-13 10:18:10 -07:00
dependabot[bot]
e9a80652d5
build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey) from 2.3.6 to 2.3.7.
- [Release notes](https://github.com/AlecAivazis/survey/releases)
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.3.6...v2.3.7)

---
updated-dependencies:
- dependency-name: github.com/AlecAivazis/survey/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 14:58:17 +00:00
Raj Hawaldar
658443f78b
Merge branch 'trunk' into gh_Auth_Status_WriteToStdOutOnSuccess 2023-06-12 13:13:16 +05:30
Sam Coe
fac497108b
Set upstream remote to track all branches after initial fetch (#7542) 2023-06-12 09:23:56 +09:00