Commit graph

143 commits

Author SHA1 Message Date
dependabot[bot]
12f2e3cab0
Bump github.com/itchyny/gojq from 0.12.6 to 0.12.7 (#5263)
Bumps [github.com/itchyny/gojq](https://github.com/itchyny/gojq) from 0.12.6 to 0.12.7.
- [Release notes](https://github.com/itchyny/gojq/releases)
- [Changelog](https://github.com/itchyny/gojq/blob/main/CHANGELOG.md)
- [Commits](https://github.com/itchyny/gojq/compare/v0.12.6...v0.12.7)

---
updated-dependencies:
- dependency-name: github.com/itchyny/gojq
  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-03-01 14:27:35 +00:00
dependabot[bot]
c3d451b9b6
Bump github.com/briandowns/spinner from 1.18.0 to 1.18.1 (#5182)
Bumps [github.com/briandowns/spinner](https://github.com/briandowns/spinner) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/briandowns/spinner/releases)
- [Commits](https://github.com/briandowns/spinner/compare/v1.18.0...v1.18.1)

---
updated-dependencies:
- dependency-name: github.com/briandowns/spinner
  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-02-08 19:19:43 +01: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
Mislav Marohnić
4e1bca736f Preserve newlines in GitHub-flavored markdown 2022-01-13 19:41:01 +01:00
Mislav Marohnić
95a71f75c5 Improve setting multiple secrets
- Store multiple secrets in parallel
- Perform repo ID resolution in parallel with looking up the encryption key
- Avoid resolving repo IDs more than once
- Allow passing `--env-file=-` to read from stdin
- Fix storing user secrets from file
2021-12-20 23:35:31 +01:00
lpessoa
5589583e4d Adding set secrets from env files
Allows to set multiple secrets from an env file.

    gh secret set -f secrets.env

The env file follows a simple format as defined in https://github.com/joho/godotenv

    SPAM=eggs
    FOO="bar"
2021-12-20 23:33:54 +01:00
Mislav Marohnić
dac771e088
Merge branch 'trunk' into bump-cobra 2021-12-20 16:35:44 +01:00
Mislav Marohnić
69eec45fe2 Bump spinner to 1.18.0 2021-12-20 16:00:42 +01:00
Mislav Marohnić
344f758406 Bump Cobra to 1.3.0 2021-12-20 12:40:45 +01:00
dependabot[bot]
eda0847ec6
Bump github.com/itchyny/gojq from 0.12.5 to 0.12.6
Bumps [github.com/itchyny/gojq](https://github.com/itchyny/gojq) from 0.12.5 to 0.12.6.
- [Release notes](https://github.com/itchyny/gojq/releases)
- [Changelog](https://github.com/itchyny/gojq/blob/main/CHANGELOG.md)
- [Commits](https://github.com/itchyny/gojq/compare/v0.12.5...v0.12.6)

---
updated-dependencies:
- dependency-name: github.com/itchyny/gojq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 14:29:52 +00:00
Mislav Marohnić
a573eb5d80
Fix codespace code command under WSL (#4747)
The `codespace code` command used the `skratchdot/open-golang` library
to open `vscode://` URLs, which uses `xdg-open` for Linux under the
hood, which isn't available under WSL.

This switches over to using the `cli/browser` package which has explicit
support for WSL by invoking `wslview` when found.
2021-11-24 16:18:24 +00:00
dependabot[bot]
efcbfb42bf
Bump github.com/mattn/go-colorable from 0.1.11 to 0.1.12
Bumps [github.com/mattn/go-colorable](https://github.com/mattn/go-colorable) from 0.1.11 to 0.1.12.
- [Release notes](https://github.com/mattn/go-colorable/releases)
- [Commits](https://github.com/mattn/go-colorable/compare/v0.1.11...v0.1.12)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-colorable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 14:26:33 +00:00
Sam Coe
260716a9f8
Repace shurcool/graphql with cli/shurcool-graphql 2021-11-17 12:57:43 -08:00
Mislav Marohnić
cbd6569cb4
Bump bluemonday to silence the security alert (#4607)
GitHub CLI is not affected by GHSA-x95h-979x-cf3j, since we are not
vulnerable to XSS via HTML injection, but upgrading the library might
silence the security alert.
2021-10-25 19:43:41 +02:00
Mislav Marohnić
a9b2c0dc82
Merge pull request #4523 from joshmgross/joshmgross/support-localhost
Support github.localhost as a non-enterprise host
2021-10-19 18:37:39 +02:00
Mislav Marohnić
2c86e671f3 Enable gh auth login for github.localhost 2021-10-18 20:01:18 +02:00
Mike McDonald
e923eb8853
Merge branch 'trunk' into mm-codespaces-remove-friendly-machine-name 2021-10-18 10:35:48 -06:00
dependabot[bot]
65382283b9
Bump github.com/creack/pty from 1.1.16 to 1.1.17
Bumps [github.com/creack/pty](https://github.com/creack/pty) from 1.1.16 to 1.1.17.
- [Release notes](https://github.com/creack/pty/releases)
- [Commits](https://github.com/creack/pty/compare/v1.1.16...v1.1.17)

---
updated-dependencies:
- dependency-name: github.com/creack/pty
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 14:27:40 +00:00
Mike McDonald
fadd3350de Thanks CI, you the real MVP 2021-10-15 22:08:41 +00:00
Mislav Marohnić
9f1a1d8805
Merge pull request #4509 from cli/downgrade-spinner
Downgrade spinner package due to cleanup bug
2021-10-13 20:12:17 +02:00
Mislav Marohnić
cf80fbe509 Downgrade spinner package due to cleanup bug
The spinner is not successfully visually cleaned up after calling its
Stop method. https://github.com/briandowns/spinner/issues/123
2021-10-13 19:45:20 +02:00
dependabot[bot]
5fd9f68c85
Bump github.com/gabriel-vasile/mimetype from 1.1.2 to 1.4.0
Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype) from 1.1.2 to 1.4.0.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases)
- [Commits](https://github.com/gabriel-vasile/mimetype/compare/v1.1.2...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/gabriel-vasile/mimetype
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 14:35:16 +00:00
Mislav Marohnić
4d274bd24e
Merge pull request #4485 from cli/dependabot/go_modules/github.com/creack/pty-1.1.16
Bump github.com/creack/pty from 1.1.13 to 1.1.16
2021-10-11 18:30:57 +02:00
Mislav Marohnić
3956510cbc
Merge pull request #4484 from cli/dependabot/go_modules/github.com/hashicorp/go-version-1.3.0
Bump github.com/hashicorp/go-version from 1.2.1 to 1.3.0
2021-10-11 18:25:59 +02:00
Mislav Marohnić
af522e4e69
Merge pull request #4482 from cli/dependabot/go_modules/github.com/itchyny/gojq-0.12.5
Bump github.com/itchyny/gojq from 0.12.4 to 0.12.5
2021-10-11 18:25:23 +02:00
dependabot[bot]
adc3072303
Bump github.com/creack/pty from 1.1.13 to 1.1.16
Bumps [github.com/creack/pty](https://github.com/creack/pty) from 1.1.13 to 1.1.16.
- [Release notes](https://github.com/creack/pty/releases)
- [Commits](https://github.com/creack/pty/compare/v1.1.13...v1.1.16)

---
updated-dependencies:
- dependency-name: github.com/creack/pty
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 16:24:32 +00:00
Mislav Marohnić
a364cd3487
Merge pull request #4483 from cli/dependabot/go_modules/github.com/cpuguy83/go-md2man/v2-2.0.1
Bump github.com/cpuguy83/go-md2man/v2 from 2.0.0 to 2.0.1
2021-10-11 18:12:32 +02:00
dependabot[bot]
32c17b2d95
Bump github.com/itchyny/gojq from 0.12.4 to 0.12.5
Bumps [github.com/itchyny/gojq](https://github.com/itchyny/gojq) from 0.12.4 to 0.12.5.
- [Release notes](https://github.com/itchyny/gojq/releases)
- [Changelog](https://github.com/itchyny/gojq/blob/main/CHANGELOG.md)
- [Commits](https://github.com/itchyny/gojq/compare/v0.12.4...v0.12.5)

---
updated-dependencies:
- dependency-name: github.com/itchyny/gojq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 15:29:21 +00:00
dependabot[bot]
c20a5c2832
Bump github.com/hashicorp/go-version from 1.2.1 to 1.3.0
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/hashicorp/go-version/releases)
- [Changelog](https://github.com/hashicorp/go-version/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/go-version/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 14:25:33 +00:00
dependabot[bot]
668d7dc8ff
Bump github.com/cpuguy83/go-md2man/v2 from 2.0.0 to 2.0.1
Bumps [github.com/cpuguy83/go-md2man/v2](https://github.com/cpuguy83/go-md2man) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/cpuguy83/go-md2man/releases)
- [Commits](https://github.com/cpuguy83/go-md2man/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: github.com/cpuguy83/go-md2man/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 14:25:26 +00:00
dependabot[bot]
a131644d85
Bump github.com/mattn/go-colorable from 0.1.8 to 0.1.11
Bumps [github.com/mattn/go-colorable](https://github.com/mattn/go-colorable) from 0.1.8 to 0.1.11.
- [Release notes](https://github.com/mattn/go-colorable/releases)
- [Commits](https://github.com/mattn/go-colorable/compare/v0.1.8...v0.1.11)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-colorable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 14:25:14 +00:00
Mislav Marohnić
9406ba3abc
Merge pull request #4478 from cli/dependabot/go_modules/github.com/mattn/go-isatty-0.0.14
Bump github.com/mattn/go-isatty from 0.0.13 to 0.0.14
2021-10-11 11:49:51 +02:00
Mislav Marohnić
5dcd1dd5b1
Merge pull request #4477 from cli/dependabot/go_modules/github.com/briandowns/spinner-1.16.0
Bump github.com/briandowns/spinner from 1.11.1 to 1.16.0
2021-10-11 11:49:18 +02:00
dependabot[bot]
3018770846
Bump github.com/mattn/go-isatty from 0.0.13 to 0.0.14
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.13 to 0.0.14.
- [Release notes](https://github.com/mattn/go-isatty/releases)
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.13...v0.0.14)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 09:43:40 +00:00
Mislav Marohnić
74ddc24dac
Merge pull request #4479 from cli/dependabot/go_modules/github.com/muesli/termenv-0.9.0
Bump github.com/muesli/termenv from 0.8.1 to 0.9.0
2021-10-11 11:38:02 +02:00
dependabot[bot]
e472f46083
Bump github.com/muesli/termenv from 0.8.1 to 0.9.0
Bumps [github.com/muesli/termenv](https://github.com/muesli/termenv) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/muesli/termenv/releases)
- [Commits](https://github.com/muesli/termenv/compare/v0.8.1...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/muesli/termenv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 08:54:27 +00:00
dependabot[bot]
b3947a7a94
Bump github.com/briandowns/spinner from 1.11.1 to 1.16.0
Bumps [github.com/briandowns/spinner](https://github.com/briandowns/spinner) from 1.11.1 to 1.16.0.
- [Release notes](https://github.com/briandowns/spinner/releases)
- [Commits](https://github.com/briandowns/spinner/compare/v1.11.1...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/briandowns/spinner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 08:54:15 +00:00
dependabot[bot]
98fa94cc6b
Bump github.com/google/go-cmp from 0.5.5 to 0.5.6
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.5...v0.5.6)

---
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>
2021-10-11 08:53:52 +00:00
Mislav Marohnić
6249bee148 Bump Survey to fix "Unexpected escape sequence"
https://github.com/AlecAivazis/survey/pull/367
2021-10-01 14:14:55 +02:00
Jose Garcia
0e98b30651 Remove internal crypto pkg in favor of fork 2021-09-29 16:40:31 +02:00
Mislav Marohnić
f749590e87 Replace old "github/ghcs" import statements 2021-09-28 16:57:56 +02:00
Nate Smith
a53ea0c655
Merge pull request #4177 from cli/survey231
bump survey to 2.3.1
2021-08-23 13:51:03 -05:00
Heath Stewart
88af63d36f
Re-enable label colors for issue list (#4106)
* Re-enable label colors for issue list
* Drop parentheses wrapping issue labels
* Support ANSI escape codes in TablePrinter cells
* Switch to a Truncate implementation that correctly measures ANSI escape codes
* Only output RGB color if terminal has truecolor capabilities
* Enable `ENABLE_VIRTUAL_TERMINAL_PROCESSING` on Windows - fixes wrapping issues with full lines and allows truecolor rendering

Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-08-23 19:55:12 +02:00
vilmibm
0388d457b0 bump survey to 2.3.1 2021-08-23 12:53:11 -05:00
Mislav Marohnić
18ea94a28e Bump Survey for accessibility features
a4e159a1a7
2021-08-23 12:20:31 +02:00
Sam Coe
315c6e4eb7
Remove backwards compatibility with homedir library for config files 2021-08-17 10:28:16 -07:00
Mislav Marohnić
3e8f075a8e Bump Cobra for improved completion support 2021-07-21 15:01:31 +02:00
Mislav Marohnić
2624ed9d8c Merge remote-tracking branch 'origin' into bump-survey 2021-07-20 18:28:58 +02:00
Mislav Marohnić
4dc23d869e Bump gojq to latest version
Upgrades gojq, the library that powers the `--jq` filter flag for JSON.
This upgrade is purely housekeeping and not to address any particular
issue reported with gh.

https://github.com/itchyny/gojq/releases/tag/v0.12.4
2021-07-12 15:34:08 +02:00
Mislav Marohnić
079542d35c Bump Survey library for cursor improvements
https://github.com/AlecAivazis/survey/releases/tag/v2.2.14
2021-07-12 14:47:40 +02:00