Commit graph

6829 commits

Author SHA1 Message Date
Nate Smith
bded827157
Merge pull request #7860 from cli/THE-FINAL-PROMPTDOWN 2023-08-18 08:57:46 -05:00
Nate Smith
cd221dffd7
Merge branch 'trunk' into THE-FINAL-PROMPTDOWN 2023-08-18 00:48:44 -05:00
Nate Smith
6417e1c19f
Merge pull request #7859 from cli/pr-shared-prompts
switch to prompter in pr shared code
2023-08-18 00:48:25 -05: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
bff4727331 linter appeasement 2023-08-17 17:17:26 -05:00
Nate Smith
fe3eeb481d linter appeasement 2023-08-17 17:14:56 -05:00
Nate Smith
4382efdf69 prompter for milestone 2023-08-17 15:58:38 -05:00
Nate Smith
6a4dbf9db3 prompter for projects 2023-08-17 15:54:46 -05:00
Nate Smith
abf49d1322 use prompter for labels 2023-08-17 15:50:55 -05:00
Nate Smith
542c154d07 prompter for assignees 2023-08-17 15:45:04 -05:00
Nate Smith
f867eff04d prompter for reviewers 2023-08-17 15:41:12 -05:00
Nate Smith
a3539d4f24 use MultiSelect for metadata survey in pr, issue create 2023-08-17 15:29:47 -05:00
Nate Smith
f04e3398ed use prompter in shared editable code 2023-08-17 11:28:01 -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
f2e5ad6dcd fix RegisterPassword 2023-08-16 21:26:37 -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
Nate Smith
8927040028 remove dead code 2023-08-08 15:58:16 -07:00
Nate Smith
bd12522cb2 finish porting existing tests 2023-08-08 15:37:58 -07:00
Andy Feller
8622bc0dd5
Merge pull request #7812 from cli/align-contribute-release-docs
Update CONTRIBUTING.md
2023-08-08 15:42:39 -04:00
John Keech
93e1511bae
Codespaces: Use the host name from the logged in server for commands (#7795)
* Use the host name from the logged in server for codespace commands

* Fix existing tests

* Add tests for server url configuration

* Rename defaultApiUrl to defaultAPIURL and comment cleanup

* Switch to t.Setenv in codespaces api tests

* Switch to t.Setenv in other tests

* Support custom server in web flows for list and create

* Rename GetServerURL() to ServerURL()
2023-08-08 09:32:06 -07:00
Andy Feller
444ca57e17
Update CONTRIBUTING.md
Bringing the contribution documentation in line with the release documentation as Go 1.19+ is required.
2023-08-08 09:50:45 -04:00
Nate Smith
aed3a67749 WIP porting repo edit to opts.Prompter 2023-08-07 17:59:56 -07:00
Nate Smith
7d470c4df4 name MultiSelect parameters in interface
I wanted the parameters to show up in my autocomplete
2023-08-07 17:59:12 -07:00
Nate Smith
cd65409328 switch to Prompter.MultiSelect 2023-08-07 17:12:46 -07:00
Sam Coe
e0d2fc8eaa
Use filepath.Base to sanitize path for archive downloads (#7805) 2023-08-07 07:35:47 -07:00
Harvey Sanders
f777bec798
release create: Trim spaces on interactive tag name input (#7759) 2023-07-27 09:18:51 -07:00
Sam Coe
b9cacbc347
Do not allow issue and pr templates to be symlinks (#7756) 2023-07-26 11:50:37 -07:00
Armand Grillet
fc685f92b6
Allow deleting of local branch after merging cross repo PRs (#7709) 2023-07-25 09:03:33 -07:00