Commit graph

5240 commits

Author SHA1 Message Date
Mislav Marohnić
b59cd63700
Merge pull request #5173 from joshmgross/joshmgross/gist-path-handling
Correctly handle Windows paths when creating gists
2022-02-07 20:06:32 +01:00
Josh Gross
f43574bfe0
Correctly handle Windows paths when creating gists 2022-02-06 23:21:20 +00:00
Yuki Hirasawa
4f0264e37b
spelling: possible (#5157) 2022-02-02 16:54:09 +01:00
Mislav Marohnić
6a4f374caf
Enable repo override for repo deploy-key delete (#5152) 2022-02-01 11:40:34 +00:00
Mislav Marohnić
4a3ef50d2d
Standardize pager output across commands (#5141)
Add pager functionality to the following commands:
- gist list
- pr checks
- release list
- run list
- run view
- secret list
- workflow list
- workflow view

Additionally, normalize error handling when starting the pager has
failed: only print a non-fatal notice to stderr instead of aborting the
whole command.
2022-02-01 08:36:51 +01:00
Audree Steinberg
1ec2c0807e
Add new line after error (#5124)
* Add new line

* Fix syntax for adding new line

* Add `\n` to another error
2022-02-01 08:35:46 +01:00
Nate Smith
6cdb268005
Merge pull request #5130 from TheGejr/patch-1
Added install instructions for Void Linux
2022-01-31 10:53:12 -06:00
Kevin Lee
0d143ca89c
Consistent punctuation in command usages (#5139)
* Fix spelling and grammatical errors in command docs
* Add periods for consistency across the long command descriptions
* Format imports
2022-01-31 10:56:12 +00:00
Mislav Marohnić
a5dddbc1bf Fix lint error 2022-01-31 11:45:00 +01:00
Caleb Brose
eeeb73a3e3
Repo name suggestions for cs create (#5108)
Co-authored-by: Alan Donovan <alan@alandonovan.net>
2022-01-31 10:20:49 +00:00
Malte Gejr
5fe7ee3f86
Added install instructions for Void Linux
The package is added to the unofficial/community maintained list.
2022-01-30 14:53:26 +01:00
Sam Coe
f0b60e3530
Add non-local PR template support (#5097)
* Add non-local PR template support

* Consolidate template support functions

* Change back query name
2022-01-29 07:41:24 +00:00
Sam Coe
ba8c41a6ed
Add GH_HOST to hosts list if it has corresponding auth token (#5087)
* Add GH_HOST to hosts list if it has coresponding auth token

* Keep default host at front of hosts list

* Always add GH_HOST to hosts list
2022-01-29 07:37:24 +00:00
Sam Coe
3be4b9951d
Trim leading and trailing whitespace when setting secrets from stdin (#5086)
* Trim leading and trailing whitespace when setting secrets from stdin

* Only trim newline at end of string
2022-01-29 09:32:14 +02:00
Sam Coe
e68aa12564
Dont execute jq filters or templates when api requests are not successful (#5088) 2022-01-29 09:32:01 +02:00
Marwan Sulaiman
22c5269606
Fix flaky liveshare session test (#5111)
* Fix flaky liveshare session test

* typo

* PR comments
2022-01-27 11:20:50 -05:00
yasudanaoya
b77c37df0f
feat: add job id, into run view suggest command (#5105)
* feat: add job id, into run view suggest command

* fix: dry

* fix: run id to job id

* Change "a" to "the" when referencing a single job

Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2022-01-27 08:19:37 +00:00
Nate Smith
3a088e4df5
Merge pull request #5069 from hirasawayuki/fix-pr-checks-cmd
Fix duplicates check results returned by `gh pr checks`
2022-01-26 16:46:32 -06:00
Nate Smith
e17964cf03
Merge pull request #5092 from cli/repo-fork-proto
prefer configured git protocol when forking
2022-01-26 11:33:47 -06:00
Anton Baklanov
e28fa3c112
Add branch and actor filters to run list (#4100)
* Add branch and actor filters to `run list`

* Simplify what FilterOptions can do

* Check not only limit in TestNewCmdList

* Verify that branch/actor params are parsed properly

* Verify that API requests have proper query parameters

* Change flag name from actor to user

Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2022-01-26 08:14:56 +02:00
Nate Smith
a564909f03
Merge pull request #4886 from g14a/feature/target-repo-fork-name
Feature/target repo fork name
2022-01-25 15:57:16 -06:00
nate smith
667671f048 fix race condition, increase clarity 2022-01-25 15:36:41 -06:00
Nate Smith
13b3c7c1a4
Merge pull request #4998 from SubOptimal/patch-1
Amend location of GPG key file
2022-01-25 14:09:57 -06:00
nate smith
bd6e50a08a Merge remote-tracking branch 'origin/trunk' into feature/target-repo-fork-name 2022-01-25 14:08:27 -06:00
Nate Smith
e4f1a676f0
Merge pull request #4954 from ajhalili2006/patch-1
Add Alpine Linux install docs
2022-01-25 13:58:35 -06:00
nate smith
e51a4b5562 that did not work 2022-01-25 13:50:11 -06:00
nate smith
f2e76bea5d minor wording, arrangement 2022-01-25 13:49:38 -06:00
Marwan Sulaiman
fac2575c73
Add retries to Codespaces API client (#5064) 2022-01-25 18:54:20 +01:00
Nilesh Singh
47a6aff54a
Add repo deploy key commands (#4302)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-01-25 17:48:24 +00:00
Sam Coe
603502febf
Allow PR create to create PRs with numerical branch names (#5090) 2022-01-25 07:22:28 +02:00
Nate Smith
2037fa4279
Merge pull request #4656 from tdakkota/feat/gist-edit
gist edit: add way to edit files from different sources
2022-01-24 17:42:12 -06:00
nate smith
2f19fa792f maint: clean up some errors 2022-01-24 17:34:21 -06:00
nate smith
de4e37ed75 Merge remote-tracking branch 'origin/trunk' into feat/gist-edit 2022-01-24 17:34:09 -06:00
nate smith
0d214864d9 linter appeasement 2022-01-24 17:01:19 -06:00
nate smith
170a50fcc8 prefer configured git protocol when forking 2022-01-24 16:54:01 -06:00
Nate Smith
7ef3abe48f
Merge pull request #4276 from heaths/issue703
Refactor Windows Installer setup
2022-01-21 12:58:04 -06:00
Des Preston
2e07d0f32c
pr status: show number of approvals (#4240)
If the base branch has no minimum approval requirements, show "N Approved"
reviews. Otherwise, show "N/X Approved".

Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-01-21 15:58:15 +00:00
Sam Coe
d3076463aa
Rename gpg-key and ssh-key files to fit golang common practices (#5074) 2022-01-21 16:51:16 +02:00
Adarsh K Kumar
bb3070aaa0
#4258 Add sub command to delete asset from release (#4416)
* #4258 Add sub command to delete asset from release

* Add just a bit of polish

Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2022-01-21 15:49:36 +02:00
Mislav Marohnić
4340c65ad9
Merge pull request #5040 from cli/issues-by-milestone-fix
Fix filtering issues by milestone
2022-01-21 14:47:40 +01:00
Heath Stewart
bad38fdcfb Remove prerelease metadata from ProductVersion 2022-01-20 15:22:56 -08:00
Heath Stewart
7ecf66a7ea
Use forward slashes for project path 2022-01-20 14:36:41 -08:00
Heath Stewart
9aa81c2c04
Switch parameter prefix for use in bash 2022-01-20 12:24:35 -08:00
Heath Stewart
cc0a650031
Use EXE path for msbuild.exe 2022-01-20 11:34:57 -08:00
nate smith
e32d0ea307 spaces 2022-01-20 13:07:49 -06:00
nate smith
6e56a87eb1 attempt to use an absolute path to msbuild 2022-01-20 12:55:42 -06:00
nate smith
44f9d03a85 Merge remote-tracking branch 'origin/trunk' into issue703 2022-01-20 12:11:26 -06:00
Mislav Marohnić
fac020eb39
Merge pull request #5063 from issyl0/repo-envvar-compatible-with-gh-api
cmd/api: Respect `GH_REPO` when substituting `{owner}/{repo}`
2022-01-20 18:16:10 +01:00
hirasawayuki
b0fd9c6f04 Fix duplicates check results returned by gh pr checks 2022-01-21 00:02:42 +09:00
dependabot[bot]
f02a73b4cc
Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 (#5070)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.6...v0.5.7)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  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>
2022-01-20 14:31:18 +00:00