Commit graph

27 commits

Author SHA1 Message Date
cawfeecake
aa231319ca
Add missing "ls" aliases to list commands (#7818) 2023-08-10 09:08:15 -07:00
vaindil
8ed632afb9
Allow --org parameter in lieu of a repo context for rulesets, add current_user_can_bypass to rs view (#7747) 2023-08-10 08:51:48 -07:00
vaindil
d82c1193b3 make IDs cyan, add prompter test 2023-07-06 14:56:55 -04: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