Commit graph

3111 commits

Author SHA1 Message Date
Harvey Sanders
4ccc6ed03b
Merge branch 'trunk' into 7771-list-all-run-jobs 2023-09-05 11:39:23 -04:00
Harvey Sanders
6f0f5a89e2 Use consistent variable naming 2023-09-05 11:36:33 -04:00
Robert Estelle
b91cfd8484
gh status: show status even if a comment 404s (#7873) 2023-09-05 04:34:44 +02:00
Ariel Deitcher
52a2a72210
rename template to mark-template cmd (#7923) 2023-09-05 03:58:07 +02:00
Harvey Sanders
e96fe1d007
Merge branch 'trunk' into 7771-list-all-run-jobs 2023-09-03 20:39:27 -04:00
Harvey Sanders
137da73642 Simplify mock jobs response 2023-09-03 20:32:41 -04:00
Harvey Sanders
d5d10a6f38 Use "Link" header for pagination completion check 2023-09-03 20:32:08 -04:00
Harvey Sanders
acc362f9d8 Fix pagination resp with "Link" header 2023-09-03 19:55:27 -04:00
Harvey Sanders
a4547481d6 Refactor GetJobs to use RESTWithNext 2023-09-02 01:01:29 -04:00
Andy Feller
d4f3695a09
Merge branch 'trunk' into mntlty/project_template 2023-08-31 15:18:23 -04:00
Harvey Sanders
656d83848b Merge branch 'trunk' of github.com:cli/cli into 7771-list-all-run-jobs
* 'trunk' of github.com:cli/cli:
  Add JSON output flags to workflow list command (#7902)
  Add config clear-cache command (#7693)
  Allow --disable-wiki flag with --template flag in repo create command (#7886)
  Reword token invalid message (#7906)
  🐛 (repo create)execute clone when readme option is enabled (#7837)
  Use go-gh prompter package (#7896)
  pr checks return distinct exit code for PENDING checks (#7866)
  Properly rename remote for GHES hosts (#7890)
  Add verbose flag to api cmd (#7826)
  Fix up Nix installation instructions (#7891)
2023-08-31 09:34:47 -04:00
Raj Hawaldar
330ad32c31
Add JSON output flags to workflow list command (#7902) 2023-08-30 20:19:18 +00:00
Ariel Deitcher
1fef870916 fix tests 2023-08-30 09:55:58 -07:00
Ariel Deitcher
f5d5e2ed1b no other descriptions have a period 2023-08-30 09:48:17 -07:00
Ariel Deitcher
a94240e1e0 mark and unmark project as template 2023-08-30 09:00:24 -07:00
ffalor
7c2e5fd595
Add config clear-cache command (#7693) 2023-08-30 15:19:09 +00:00
Yuto
f8bf602ecd
Allow --disable-wiki flag with --template flag in repo create command (#7886) 2023-08-29 22:52:57 +00:00
Kousik Mitra
6fc6b87484
Reword token invalid message (#7906) 2023-08-28 15:12:28 -05:00
Shion Ichikawa
a5400effd8
🐛 (repo create)execute clone when readme option is enabled (#7837)
* 🐛 (repo create)execute clone when readme option is enabled

*  (repo/create)noninteractive clone with readme

* 🔥 (repo/create)remove printing statement
2023-08-28 14:09:02 +00:00
Sam Coe
8016244dbb
Use go-gh prompter package (#7896) 2023-08-28 08:08:43 -05:00
Raj Hawaldar
9fc571499f
pr checks return distinct exit code for PENDING checks (#7866) 2023-08-25 10:30:45 -07:00
Sam Coe
6f618b522c
Properly rename remote for GHES hosts (#7890) 2023-08-25 10:01:26 -07:00
Jun Nishimura
508065b72d
Add verbose flag to api cmd (#7826) 2023-08-25 09:37:37 -07:00
Harvey Sanders
44e1efc221 Fetch all jobs on a gh view run --json 2023-08-21 10:29:58 -04:00
Nate Smith
3a5d47b88e linter appeasement 2023-08-17 17:40:10 -05:00
Nate Smith
79f789b209 delete prompt package 2023-08-17 17:40:10 -05:00
Nate Smith
13a4ebf4db prompter for milestone 2023-08-17 17:40:10 -05:00
Nate Smith
00c25a8d62 prompter for projects 2023-08-17 17:40:10 -05:00
Nate Smith
81cbf5e9b6 use prompter for labels 2023-08-17 17:40:10 -05:00
Nate Smith
9b7cc44c7f prompter for assignees 2023-08-17 17:40:10 -05:00
Nate Smith
a2758d3c28 prompter for reviewers 2023-08-17 17:40:10 -05:00
Nate Smith
896a6f39ad use MultiSelect for metadata survey in pr, issue create 2023-08-17 17:40:10 -05:00
Nate Smith
7860198dd7 use prompter in shared editable code 2023-08-17 17:40:10 -05:00
Nate Smith
a51aba0d22
Merge pull request #7850 from cli/noch-prompts
update more prompts
2023-08-17 17:38:17 -05:00
Nate Smith
e3a152c246
Merge pull request #7847 from cli/mas-prompts
switch to prompter in workflow commands
2023-08-17 17:30:21 -05:00
Nate Smith
fe3eeb481d linter appeasement 2023-08-17 17:14:56 -05:00
Nate Smith
0d3b7db495 use prompter in issue delete 2023-08-16 21:48:30 -05:00
Nate Smith
fc73c16fe8 use prompter in secret set 2023-08-16 21:26:57 -05:00
Nate Smith
2ddfc3827d use new prompter in repo fork 2023-08-16 16:02:14 -05:00
Nate Smith
719c9579ba switch to prompter in workflow commands 2023-08-16 15:19:44 -05:00
Sam Coe
4a57a812f5
Upgrade to Go 1.21 (#7843) 2023-08-16 10:37:58 -07:00
Jamie Tanna
e4cddb562e
Remove GHE handling for workflow scope (#7841)
According to [0] we appear to no longer support GHE 2.x, as the latest
release was deprecated in early 2022.

We can therefore remove this custom handling.

[0]: https://docs.github.com/en/enterprise-server@3.7/admin/all-releases
2023-08-15 17:40:09 +00:00
Jun Nishimura
c5eb188698
Add clobber flag to alias set (#7787) 2023-08-15 14:58:45 +00:00
Nate Smith
d9ea221b1a
Merge pull request #7816 from cli/prompts-again
port repo edit prompts
2023-08-10 17:45:49 -07:00
Nate Smith
f5477d931b pass prompter around instead of opts 2023-08-10 17:34:17 -07:00
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
Nate Smith
480505511c test for forking in org 2023-08-08 17:53:21 -07:00
Nate Smith
3e2f09d970 strip more dead code 2023-08-08 17:35:35 -07:00
Nate Smith
c1296194ee port more prompts and cover with new tests 2023-08-08 17:28:06 -07:00