Commit graph

6790 commits

Author SHA1 Message Date
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
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
Sam Coe
8079d18efd
Use asciisanitization package from go-gh (#7745) 2023-07-24 10:50:33 -07:00
Sam Coe
f5d581d363
Do not make reviewer update request if there are no reviewer changes (#7730) 2023-07-24 10:16:45 -07:00
Sam Coe
ad283cff72
Fix pr checks command for GHES versions older than 3.9 (#7725) 2023-07-19 09:25:07 -07:00
Sam Coe
7f3196fcd4
Use filepath.Clean to sanitize path for archive downloads (#7720) 2023-07-18 12:49:55 -07:00
Sam Coe
5d82a9553c
Sanitize file contents before displaying them (#7694) 2023-07-18 12:49:25 -07:00
Sam Coe
2a4160a3a3
Do not add auth token to redirect requests which do not have the same host as the inital request. (#7692) 2023-07-14 08:12:20 +09:00
Nate Smith
8c7935e6ce
Merge pull request #7689 from cli/cache-explainer
add gh cache to Actions explainer
2023-07-11 12:05:41 -07:00
Nate Smith
528cb98481 add gh cache to Actions explainer 2023-07-11 11:55:50 -07:00
Nate Smith
6573f0cdd0
Merge pull request #7687 from cli/fill-first-follow-up
Clean up style nits and simplify some logic
2023-07-11 11:15:03 -07:00
Sam Coe
1b79e95311
Clean up style nits and simplify some logic 2023-07-11 13:34:22 +09:00
Nate Smith
9decb5d4b3
Merge pull request #7314 from kousikmitra/fix/error-on-no-browser
Return error on no-browser option if repo don't exists
2023-07-10 16:35:27 -07:00
Nate Smith
4c918e90a6
Merge pull request #7398 from kousikmitra/feature/pr-fill-first
Feature: Add `fill-first` flag to `pr create`  command
2023-07-10 16:20:15 -07:00
Nate Smith
96d7274044
Merge pull request #7403 from joshkraft/gh-cache-command
Create `gh cache list`, `gh cache delete`
2023-07-10 16:00:57 -07:00
nate smith
5785ccb4ec fix typo 2023-07-10 15:31:46 -07:00
nate smith
a889bfab20 Merge remote-tracking branch 'origin/trunk' into fix/error-on-no-browser 2023-07-10 15:29:17 -07:00
Nate Smith
446aec715a
Merge pull request #7683 from iloveitaly/multiple-env-stdin-ex
docs: example of setting multiple vars using stdin
2023-07-10 15:24:21 -07:00
nate smith
557127c7ca remove stray print 2023-07-10 15:16:51 -07:00
Nate Smith
fad105c471
Merge pull request #7656 from cli/fix-issue-develop
Fix issue develop command
2023-07-10 12:59:15 -07:00
Nate Smith
4ba2f2ffb3
Merge pull request #7650 from vaindil/vaindil/rulesets
Add support for repository rulesets
2023-07-10 12:50:23 -07:00
Michael Bianco
c5b642fc5f
docs: example of setting multiple vars using stdin 2023-07-10 11:37:41 -06:00
Sam Coe
47d94f8ce7
Add --branch-repo flag 2023-07-10 08:53:44 +09: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