-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option --json for gh variable list #8516
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@w1mvy : thank you for opening this PR and improving the GitHub CLI! ❤️
Generally these changes look good with a few suggestions to bring this into alignment with other changes.
@@ -114,7 +127,7 @@ func listRun(opts *ListOptions) error { | |||
return fmt.Errorf("failed to get variables: %w", err) | |||
} | |||
|
|||
if len(variables) == 0 { | |||
if len(variables) == 0 && opts.Exporter == nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could explain why this is needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks your review!!
Added to make the return value an empty array. example pr list
issue list
Lines 179 to 181 in 586eb8b
if len(listResult.PullRequests) == 0 && opts.Exporter == nil { | |
return shared.ListNoResults(ghrepo.FullName(baseRepo), "pull request", !filters.IsDefault()) | |
} |
$ gh pr list --json id
[]
However, secret list does not return an empty array.
secret list
and variable list
have similar usage scenarios, it would be better to align their behavior with that of secret list.
$ gh secret list --json name
no secrets found
pkg/cmd/variable/list/list.go
Outdated
|
||
func (v *Variable) ExportData(fields []string) map[string]interface{} { | ||
e := reflect.ValueOf(v).Elem() | ||
fieldByName := func(val reflect.Value, field string) reflect.Value { | ||
return val.FieldByNameFunc(func(s string) bool { | ||
return strings.EqualFold(field, s) | ||
}) | ||
} | ||
data := map[string]interface{}{} | ||
|
||
for _, f := range fields { | ||
sf := fieldByName(e, f) | ||
data[f] = sf.Interface() | ||
} | ||
|
||
return data | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think this isn't needed given the default behavior of exporting structs except we will need to add JSON tags to the remaining Variable
fields for their lowercased versions so they are exported with the appropriate names.
cli/pkg/cmd/variable/list/list.go
Lines 174 to 181 in b0da755
type Variable struct { | |
Name string | |
Value string | |
UpdatedAt time.Time `json:"updated_at"` | |
Visibility shared.Visibility | |
SelectedReposURL string `json:"selected_repositories_url"` | |
NumSelectedRepos int | |
} |
type Variable struct {
Name string `json:"name"`
Value string `json:"value"`
UpdatedAt time.Time `json:"updated_at"`
Visibility shared.Visibility `json:"visibility"`
SelectedReposURL string `json:"selected_repositories_url"`
NumSelectedRepos int `json:"num_selected_repos"`
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
func (v *Variable) ExportData(fields []string) map[string]interface{} { | |
e := reflect.ValueOf(v).Elem() | |
fieldByName := func(val reflect.Value, field string) reflect.Value { | |
return val.FieldByNameFunc(func(s string) bool { | |
return strings.EqualFold(field, s) | |
}) | |
} | |
data := map[string]interface{}{} | |
for _, f := range fields { | |
sf := fieldByName(e, f) | |
data[f] = sf.Interface() | |
} | |
return data | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears that secret list
command does not filter by argument fields as follows
# on test repo
$ gh secret list --json name
[
{
"name": "HOGE",
"updated_at": "2024-01-06T00:40:37Z",
"visibility": "",
"selected_repositories_url": "",
"num_selected_repos": 0
}
]
Therefore, I think it is necessary to implement ExportData
including the secret list
. How about that?
Line 8 in 586eb8b
func (issue *Issue) ExportData(fields []string) map[string]interface{} { |
My implementation is inadequate and the snake case may need to be further modified as follows
func (v *Variable) ExportData(fields []string) map[string]interface{} {
e := reflect.ValueOf(v).Elem()
fieldByName := func(val reflect.Value, field string) reflect.Value {
return val.FieldByNameFunc(func(s string) bool {
return strings.EqualFold(field, s)
})
}
data := map[string]interface{}{}
for _, f := range fields {
switch f {
case "updated_at":
data[f] = v.UpdatedAt
case "selected_repositories_url":
data[f] = v.SelectedReposURL
case "num_selected_repos":
data[f] = v.NumSelectedRepos
default:
sf := fieldByName(e, f)
data[f] = sf.Interface()
}
}
return data
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears that secret list command does not filter by argument fields as follows
Oof; sounds like we have some follow up work addressing those behaviors and shortcomings, thanks for explaining 🤗 I want to bring this up with @samcoe for his thoughts as I apparently overlooked the original secret changes referenced.
b0da755
to
ad90e61
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@w1mvy Thanks for the contribution! Since there has been fair amount of confusion internally and externally about ExportData
functionality I pushed a commit to extract a helper function to ideally make this less confusing and have less boiler plate in the future. I also went ahead and fixed secret list
to now take the fields requested into account. Lastly, I rebased the PR against the latest trunk. I think this is ready to 🚢 .
@andyfeller would you mind taking another quick look to verify the changes make sense to you?
// Perhaps this should be moved up into exportData for the case when | ||
// a struct does not implement the exportable interface, but for now it will | ||
// need to be explicitly used. | ||
func StructExportData(s interface{}, fields []string) map[string]interface{} { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would love to see all these export functions in this package moved into their own internal function named export
or exportable
one day, but that felt like too big of a refactor to tack onto this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additionally this name is not the greatest, open to other suggestions.
return &jsonExporter{} | ||
} | ||
|
||
func (e *jsonExporter) Fields() []string { | ||
return e.fields | ||
} | ||
|
||
func (e *jsonExporter) SetFields(fields []string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having a getter and setter for the fields
field felt a bit off but decided this was the quickest way to get this change in. In the future we should evaluate just exporting jsonExporter
and its fields. Perhaps when doing the refactor I mentioned in the comment below.
ad90e61
to
c2f6a4e
Compare
@samcoe Thanks for your review and fix!! LGTM 👍 |
@w1mvy That is a good call out, we can definitely make sure to mention it in the release notes. |
I addressed PR comments and concerns.
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [aquaproj/aqua-registry](https://togithub.com/aquaproj/aqua-registry) | minor | `v4.124.0` -> `v4.128.0` | | [cli/cli](https://togithub.com/cli/cli) | minor | `v2.42.1` -> `v2.43.1` | | [junegunn/fzf](https://togithub.com/junegunn/fzf) | patch | `0.46.0` -> `0.46.1` | | [marcosnils/bin](https://togithub.com/marcosnils/bin) | patch | `v0.17.2` -> `v0.17.3` | | [nektos/act](https://togithub.com/nektos/act) | patch | `v0.2.57` -> `v0.2.59` | | [sigstore/cosign](https://togithub.com/sigstore/cosign) | patch | `v2.2.2` -> `v2.2.3` | | [simulot/immich-go](https://togithub.com/simulot/immich-go) | minor | `0.9.12` -> `0.10.0` | | [wagoodman/dive](https://togithub.com/wagoodman/dive) | minor | `v0.11.0` -> `v0.12.0` | | [weaveworks/eksctl](https://togithub.com/weaveworks/eksctl) | minor | `v0.169.0` -> `v0.170.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>aquaproj/aqua-registry (aquaproj/aqua-registry)</summary> ### [`v4.128.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.128.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.127.1...v4.128.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.128.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.128.0) | aquaproj/aqua-registry@v4.127.1...v4.128.0 #### 🎉 New Packages [#​19594](https://togithub.com/aquaproj/aqua-registry/issues/19594) [gitea.com/gitea/tea](https://gitea.com/gitea/tea): Command line tool to interact with Gitea servers [#​19593](https://togithub.com/aquaproj/aqua-registry/issues/19593) [gitlab.com/gitlab-org/cli](https://gitlab.com/gitlab-org/cli): A GitLab CLI tool bringing GitLab to your command line > \[!NOTE] > Update aqua-renovate-config to 2.0.0 or newer > To update these packages by Renovate, please update aqua-renovate-config to 2.0.0 or newer > https://github.com/aquaproj/aqua-renovate-config/releases/tag/2.0.0 > \[!WARNING] > These packages have several restriction at the moment. > > - `aqua g` can't get the version, so you need to edit the version manually > - `aqua update` doesn't support these packages ### [`v4.127.1`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.127.1) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.127.0...v4.127.1) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.127.1) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.127.1) | aquaproj/aqua-registry@v4.127.0...v4.127.1 #### Fixes [#​19544](https://togithub.com/aquaproj/aqua-registry/issues/19544) eza-community/eza: Support darwin and windows/arm64 using cargo > \[!WARNING] > To support darwin and windows/arm64, aqua >= v2.23.0 is required [#​19568](https://togithub.com/aquaproj/aqua-registry/issues/19568) sharkdp/bat: Regenerate config by `cmdx s` [#​19591](https://togithub.com/aquaproj/aqua-registry/issues/19591) swaggo/swag: Follow up changes of swag v1.16.3 ### [`v4.127.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.127.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.126.0...v4.127.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.127.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.127.0) | aquaproj/aqua-registry@v4.126.0...v4.127.0 #### 🎉 New Packages [#​19518](https://togithub.com/aquaproj/aqua-registry/issues/19518) [crates.io/eza](https://crates.io/crates/eza): A modern replacement for ls [@​Omochice](https://togithub.com/Omochice) > \[!NOTE] > We will merge this package with `eza-community/eza`. > Now we can't merge these packages due to the technical issue[https://github.com/aquaproj/aqua/issues/2649](https://togithub.com/aquaproj/aqua/issues/2649)49 #### Fixes [#​19530](https://togithub.com/aquaproj/aqua-registry/issues/19530) eza-community/eza: Regenerate config by `cmdx s` [#​19533](https://togithub.com/aquaproj/aqua-registry/issues/19533) okta/okta-aws-cli: Follow up changes of okta-aws-cli v2.0.1 #### 🎉 New Contributors Thank you for your contribution! [@​Omochice](https://togithub.com/Omochice) [#​19518](https://togithub.com/aquaproj/aqua-registry/issues/19518) ### [`v4.126.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.126.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.125.1...v4.126.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.126.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.126.0) | aquaproj/aqua-registry@v4.125.1...v4.126.0 #### 🎉 New Packages [#​13513](https://togithub.com/aquaproj/aqua-registry/issues/13513) [#​19465](https://togithub.com/aquaproj/aqua-registry/issues/19465) [loft-sh/devpod](https://togithub.com/loft-sh/devpod): Codespaces but open-source, client-only and unopinionated: Works with any IDE and lets you use any cloud, kubernetes or just localhost docker [@​CrystalMethod](https://togithub.com/CrystalMethod) ### [`v4.125.1`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.125.1) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.125.0...v4.125.1) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.125.1) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.125.1) | aquaproj/aqua-registry@v4.125.0...v4.125.1 #### Fixes [#​19450](https://togithub.com/aquaproj/aqua-registry/issues/19450) lxc/incus: Follow up changes of incus v0.5.1 [#​19447](https://togithub.com/aquaproj/aqua-registry/issues/19447) kool-dev/kool: Follow up changes of kool 3.0.0 [#​19442](https://togithub.com/aquaproj/aqua-registry/issues/19442) mattn/zig-update: Follow up changes of zig-update [#​19439](https://togithub.com/aquaproj/aqua-registry/issues/19439) cli/cli: Disable rosetta2 and use files for darwin/arm64 ### [`v4.125.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.125.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.124.0...v4.125.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.125.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.125.0) | aquaproj/aqua-registry@v4.124.0...v4.125.0 #### 🎉 New Packages [#​19388](https://togithub.com/aquaproj/aqua-registry/issues/19388) [erebe/wstunnel](https://togithub.com/erebe/wstunnel): Tunnel all your traffic over Websocket or HTTP2 - Bypass firewalls/DPI [@​CrystalMethod](https://togithub.com/CrystalMethod) </details> <details> <summary>cli/cli (cli/cli)</summary> ### [`v2.43.1`](https://togithub.com/cli/cli/releases/tag/v2.43.1): GitHub CLI 2.43.1 [Compare Source](https://togithub.com/cli/cli/compare/v2.43.0...v2.43.1) #### What's Changed - Fix label create regression in v2.43.0 by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8653](https://togithub.com/cli/cli/pull/8653) **Full Changelog**: cli/cli@v2.43.0...v2.43.1 ### [`v2.43.0`](https://togithub.com/cli/cli/releases/tag/v2.43.0): GitHub CLI 2.43.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.42.1...v2.43.0) #### Special note With this release, the GitHub CLI team sees [@​samcoe](https://togithub.com/samcoe) off to new adventures beyond GitHub! 😿 Sam has been an amazing maintainer and colleague who has helped so many people adopt `gh` while trying to connect with the community regarding its needs. There will forever be a Sam-shaped hole no one can fill but hope he continues to be a part wherever his whirlwind journey takes him! ❤️ #### What's Changed - Remove project JSON formatting objects by [@​heaths](https://togithub.com/heaths) in [https://github.com/cli/cli/pull/8541](https://togithub.com/cli/cli/pull/8541) - build(deps): bump actions/upload-artifact from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8467](https://togithub.com/cli/cli/pull/8467) - build(deps): bump actions/download-artifact from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8466](https://togithub.com/cli/cli/pull/8466) - Add option --json for gh variable list by [@​w1mvy](https://togithub.com/w1mvy) in [https://github.com/cli/cli/pull/8516](https://togithub.com/cli/cli/pull/8516) - Add `--json` export flag for release list by [@​v1v](https://togithub.com/v1v) in [https://github.com/cli/cli/pull/8474](https://togithub.com/cli/cli/pull/8474) - 📝 (search/repos) add usage tips for --archived=false by [@​shion1305](https://togithub.com/shion1305) in [https://github.com/cli/cli/pull/8391](https://togithub.com/cli/cli/pull/8391) - fix: Prevent nil dereference in `pr view`. by [@​octo](https://togithub.com/octo) in [https://github.com/cli/cli/pull/8566](https://togithub.com/cli/cli/pull/8566) - Fix some typos raised by codespell by [@​fpistm](https://togithub.com/fpistm) in [https://github.com/cli/cli/pull/8589](https://togithub.com/cli/cli/pull/8589) - Add force flag to setup-git command by [@​rajhawaldar](https://togithub.com/rajhawaldar) in [https://github.com/cli/cli/pull/8552](https://togithub.com/cli/cli/pull/8552) - build(deps): bump actions/cache from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8594](https://togithub.com/cli/cli/pull/8594) - Feature: output URL for newly created repo by [@​leevic31](https://togithub.com/leevic31) in [https://github.com/cli/cli/pull/8574](https://togithub.com/cli/cli/pull/8574) - Update Arch repo to \[extra] by [@​Xeonacid](https://togithub.com/Xeonacid) in [https://github.com/cli/cli/pull/8607](https://togithub.com/cli/cli/pull/8607) - build(deps): bump microsoft/setup-msbuild from 1.3.1 to 1.3.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8629](https://togithub.com/cli/cli/pull/8629) - fix(pr create): clarify refspec to push to correct branch in the event of a conflicting tag by [@​arunsathiya](https://togithub.com/arunsathiya) in [https://github.com/cli/cli/pull/8618](https://togithub.com/cli/cli/pull/8618) - Send activity signals during non-interactive codespace SSH command by [@​dmgardiner25](https://togithub.com/dmgardiner25) in [https://github.com/cli/cli/pull/8639](https://togithub.com/cli/cli/pull/8639) - Upgrade cli/go-gh to v2.5.0 for home-manager fix by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/8647](https://togithub.com/cli/cli/pull/8647) #### New Contributors - [@​w1mvy](https://togithub.com/w1mvy) made their first contribution in [https://github.com/cli/cli/pull/8516](https://togithub.com/cli/cli/pull/8516) - [@​v1v](https://togithub.com/v1v) made their first contribution in [https://github.com/cli/cli/pull/8474](https://togithub.com/cli/cli/pull/8474) - [@​octo](https://togithub.com/octo) made their first contribution in [https://github.com/cli/cli/pull/8566](https://togithub.com/cli/cli/pull/8566) - [@​fpistm](https://togithub.com/fpistm) made their first contribution in [https://github.com/cli/cli/pull/8589](https://togithub.com/cli/cli/pull/8589) - [@​leevic31](https://togithub.com/leevic31) made their first contribution in [https://github.com/cli/cli/pull/8574](https://togithub.com/cli/cli/pull/8574) - [@​Xeonacid](https://togithub.com/Xeonacid) made their first contribution in [https://github.com/cli/cli/pull/8607](https://togithub.com/cli/cli/pull/8607) **Full Changelog**: cli/cli@v2.42.1...v2.43.0 </details> <details> <summary>junegunn/fzf (junegunn/fzf)</summary> ### [`v0.46.1`](https://togithub.com/junegunn/fzf/blob/HEAD/CHANGELOG.md#0461) [Compare Source](https://togithub.com/junegunn/fzf/compare/0.46.0...0.46.1) - Bug fixes and improvements - Fixed Windows binaries - Downgraded Go version to 1.20 to support older versions of Windows - https://tip.golang.org/doc/go1.21#windows - Updated [rivo/uniseg](https://togithub.com/rivo/uniseg) dependency to v0.4.6 </details> <details> <summary>marcosnils/bin (marcosnils/bin)</summary> ### [`v0.17.3`](https://togithub.com/marcosnils/bin/releases/tag/v0.17.3) [Compare Source](https://togithub.com/marcosnils/bin/compare/v0.17.2...v0.17.3) #### Changelog - [`9da887d`](https://togithub.com/marcosnils/bin/commit/9da887d) allow to install and remove binaries in relative paths ([#​186](https://togithub.com/marcosnils/bin/issues/186)) </details> <details> <summary>nektos/act (nektos/act)</summary> ### [`v0.2.59`](https://togithub.com/nektos/act/releases/tag/v0.2.59) [Compare Source](https://togithub.com/nektos/act/compare/v0.2.58...v0.2.59) #### Changelog ##### New Features - [`12c0c42`](https://togithub.com/nektos/act/commit/12c0c42) feat: correctly use the xdg library, which has the side effect to fix the config survey ([#​2195](https://togithub.com/nektos/act/issues/2195)) ##### Other - [`b7a8145`](https://togithub.com/nektos/act/commit/b7a8145) chore: bump VERSION to 0.2.59 ### [`v0.2.58`](https://togithub.com/nektos/act/releases/tag/v0.2.58) [Compare Source](https://togithub.com/nektos/act/compare/v0.2.57...v0.2.58) #### Changelog ##### New Features - [`f055d4a`](https://togithub.com/nektos/act/commit/f055d4a) feat: support offline mode ([#​2128](https://togithub.com/nektos/act/issues/2128)) - [`f7a846d`](https://togithub.com/nektos/act/commit/f7a846d) feat: cli option to enable the new action cache ([#​1954](https://togithub.com/nektos/act/issues/1954)) ##### Bug fixes - [`054caec`](https://togithub.com/nektos/act/commit/054caec) fix: use correct path to toolcache ([#​1494](https://togithub.com/nektos/act/issues/1494)) - [`5e0d29d`](https://togithub.com/nektos/act/commit/5e0d29d) fix: improve warning about remote not found ([#​2169](https://togithub.com/nektos/act/issues/2169)) - [`6dd6725`](https://togithub.com/nektos/act/commit/6dd6725) fix: improve new-action-cache fetch failure error ([#​2172](https://togithub.com/nektos/act/issues/2172)) - [`09d4b5d`](https://togithub.com/nektos/act/commit/09d4b5d) fix: subpath actions via new artifact cache ([#​2170](https://togithub.com/nektos/act/issues/2170)) - [`a6ec2c1`](https://togithub.com/nektos/act/commit/a6ec2c1) fix: improve action not found error ([#​2171](https://togithub.com/nektos/act/issues/2171)) - [`6091094`](https://togithub.com/nektos/act/commit/6091094) fix: write default config in XDG config dir to avoid cluttering the HOME directory by default ([#​2140](https://togithub.com/nektos/act/issues/2140)) - [`7f7d84b`](https://togithub.com/nektos/act/commit/7f7d84b) fix: match cache `restore-keys` in creation reverse order ([#​2153](https://togithub.com/nektos/act/issues/2153)) ##### Other - [`3ed38d8`](https://togithub.com/nektos/act/commit/3ed38d8) chore: bump VERSION to 0.2.58 - [`0dbf44c`](https://togithub.com/nektos/act/commit/0dbf44c) build(deps): bump github.com/opencontainers/runc from 1.1.7 to 1.1.12 ([#​2187](https://togithub.com/nektos/act/issues/2187)) - [`6dcf9bc`](https://togithub.com/nektos/act/commit/6dcf9bc) build(deps): bump github.com/moby/buildkit from 0.11.5 to 0.12.5 ([#​2188](https://togithub.com/nektos/act/issues/2188)) - [`df61c7f`](https://togithub.com/nektos/act/commit/df61c7f) build(deps): bump github.com/containerd/containerd from 1.6.19 to 1.6.26 ([#​2189](https://togithub.com/nektos/act/issues/2189)) - [`36e0261`](https://togithub.com/nektos/act/commit/36e0261) build(deps): bump github.com/opencontainers/image-spec ([#​2167](https://togithub.com/nektos/act/issues/2167)) - [`46dc2ff`](https://togithub.com/nektos/act/commit/46dc2ff) build(deps): bump github.com/moby/buildkit from 0.12.4 to 0.12.5 ([#​2186](https://togithub.com/nektos/act/issues/2186)) - [`5a80a04`](https://togithub.com/nektos/act/commit/5a80a04) refactor: filecollector into new package ([#​2174](https://togithub.com/nektos/act/issues/2174)) - [`4ca35d2`](https://togithub.com/nektos/act/commit/4ca35d2) build(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5 ([#​2175](https://togithub.com/nektos/act/issues/2175)) - [`424fd5e`](https://togithub.com/nektos/act/commit/424fd5e) refactor(cmd/root): simplify `parseEnvs` ([#​2162](https://togithub.com/nektos/act/issues/2162)) - [`6a8c42a`](https://togithub.com/nektos/act/commit/6a8c42a) Add containerd's normalized architectures to archMapper ([#​2168](https://togithub.com/nektos/act/issues/2168)) - [`c215e08`](https://togithub.com/nektos/act/commit/c215e08) build(deps): bump megalinter/megalinter from 7.7.0 to 7.8.0 ([#​2164](https://togithub.com/nektos/act/issues/2164)) - [`8072a00`](https://togithub.com/nektos/act/commit/8072a00) WorkflowDispatchConfig supports multiple yaml node kinds ([#​2123](https://togithub.com/nektos/act/issues/2123)) - [`15bb54f`](https://togithub.com/nektos/act/commit/15bb54f) build(deps): bump actions/upload-artifact from 3 to 4 ([#​2133](https://togithub.com/nektos/act/issues/2133)) - [`cd40f3f`](https://togithub.com/nektos/act/commit/cd40f3f) ci: automatic merge PRs created by a maintainer and approved by 1 other maintainer ([#​2156](https://togithub.com/nektos/act/issues/2156)) - [`adbe229`](https://togithub.com/nektos/act/commit/adbe229) Add support for NetBSD ([#​2023](https://togithub.com/nektos/act/issues/2023)) - [`96d6cf8`](https://togithub.com/nektos/act/commit/96d6cf8) build(deps): bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 ([#​2149](https://togithub.com/nektos/act/issues/2149)) - [`ef5746b`](https://togithub.com/nektos/act/commit/ef5746b) build(deps): bump golang.org/x/term from 0.15.0 to 0.16.0 ([#​2148](https://togithub.com/nektos/act/issues/2148)) </details> <details> <summary>sigstore/cosign (sigstore/cosign)</summary> ### [`v2.2.3`](https://togithub.com/sigstore/cosign/blob/HEAD/CHANGELOG.md#v223) [Compare Source](https://togithub.com/sigstore/cosign/compare/v2.2.2...v2.2.3) #### Bug Fixes - Fix race condition on verification with multiple signatures attached to image ([#​3486](https://togithub.com/sigstore/cosign/issues/3486)) - fix(clean): Fix clean cmd for private registries ([#​3446](https://togithub.com/sigstore/cosign/issues/3446)) - Fixed BYO PKI verification ([#​3427](https://togithub.com/sigstore/cosign/issues/3427)) #### Features - Allow for option in cosign attest and attest-blob to upload attestation as supported in Rekor ([#​3466](https://togithub.com/sigstore/cosign/issues/3466)) - Add support for OpenVEX predicate type ([#​3405](https://togithub.com/sigstore/cosign/issues/3405)) #### Documentation - Resolves [#​3088](https://togithub.com/sigstore/cosign/issues/3088): `version` sub-command expected behaviour documentation and testing ([#​3447](https://togithub.com/sigstore/cosign/issues/3447)) - add examples for cosign attach signature cmd ([#​3468](https://togithub.com/sigstore/cosign/issues/3468)) #### Misc - Remove CertSubject function ([#​3467](https://togithub.com/sigstore/cosign/issues/3467)) - Use local rekor and fulcio instances in e2e tests ([#​3478](https://togithub.com/sigstore/cosign/issues/3478)) #### Contributors - aalsabag - Bob Callaway - Carlos Tadeu Panato Junior - Colleen Murphy - Hayden B - Mukuls77 - Omri Bornstein - Puerco - vivek kumar sahu </details> <details> <summary>simulot/immich-go (simulot/immich-go)</summary> ### [`v0.10.0`](https://togithub.com/simulot/immich-go/releases/tag/0.10.0) [Compare Source](https://togithub.com/simulot/immich-go/compare/0.9.12...0.10.0) #### Changelog - [`0d8a166`](https://togithub.com/simulot/immich-go/commit/0d8a166) Merge branch 'main' into [#​135](https://togithub.com/simulot/immich-go/issues/135)-feat--use-the-searchAssets-API-to-workaroud-server's-timeout - [`13e6ba4`](https://togithub.com/simulot/immich-go/commit/13e6ba4) Update readme.md ([#​137](https://togithub.com/simulot/immich-go/issues/137)) - [`815ef70`](https://togithub.com/simulot/immich-go/commit/815ef70) fix: [#​131](https://togithub.com/simulot/immich-go/issues/131) panic syntax error in pattern - [`a51e022`](https://togithub.com/simulot/immich-go/commit/a51e022) fix: [#​135](https://togithub.com/simulot/immich-go/issues/135) use the searchAssets API to workaround server's timeout </details> <details> <summary>wagoodman/dive (wagoodman/dive)</summary> ### [`v0.12.0`](https://togithub.com/wagoodman/dive/releases/tag/v0.12.0) [Compare Source](https://togithub.com/wagoodman/dive/compare/v0.11.0...v0.12.0) ### Changelog #### [v0.12.0](https://togithub.com/wagoodman/dive/tree/v0.12.0) (2024-02-02) [Full Changelog](https://togithub.com/wagoodman/dive/compare/v0.11.0...v0.12.0) ##### Added Features - Can we do docker layer wise scan for vulnerability detection \[[Issue #​465](https://togithub.com/wagoodman/dive/issues/465)] - How to use Dive in gitlab CI Securely? \[[Issue #​493](https://togithub.com/wagoodman/dive/issues/493)] ##### Bug Fixes - Dive always fail when trying to fetch local image \[[Issue #​462](https://togithub.com/wagoodman/dive/issues/462)] - Unable to analyze the image using dive (Docker 25+ compatibility) \[[Issue #​498](https://togithub.com/wagoodman/dive/issues/498)] \[[PR #​500](https://togithub.com/wagoodman/dive/pull/500)] \[[tbroyer](https://togithub.com/tbroyer)] ##### Additional Changes - Bump to more recent go version, remove no longer required overrides \[[PR #​461](https://togithub.com/wagoodman/dive/pull/461)] \[[SuperSandro2000](https://togithub.com/SuperSandro2000)] - docs: Adds instructions for snap installation \[[PR #​484](https://togithub.com/wagoodman/dive/pull/484)] \[[gruyaume](https://togithub.com/gruyaume)] - DIVE_VERSION does not need to be exported \[[PR #​492](https://togithub.com/wagoodman/dive/pull/492)] \[[ReneNyffenegger](https://togithub.com/ReneNyffenegger)] - fix(sec): upgrade golang.org/x/net to 0.17.0 \[[PR #​503](https://togithub.com/wagoodman/dive/pull/503)] \[[suguds](https://togithub.com/suguds)] </details> <details> <summary>weaveworks/eksctl (weaveworks/eksctl)</summary> ### [`v0.170.0`](https://togithub.com/eksctl-io/eksctl/releases/tag/v0.170.0): eksctl 0.170.0 (permalink) [Compare Source](https://togithub.com/weaveworks/eksctl/compare/0.169.0-rc.0...0.170.0-rc.0) ### Release v0.170.0 #### 🚀 Features - Add support for Access Entry type ([#​7522](https://togithub.com/weaveworks/eksctl/issues/7522)) #### 🎯 Improvements - Skip draining managed nodegroups when deleting cluster ([#​7515](https://togithub.com/weaveworks/eksctl/issues/7515)) - Expand Karpenter settings.aws block to settings for v0.33.0 and greater ([#​7503](https://togithub.com/weaveworks/eksctl/issues/7503)) #### 📝 Documentation - docs(fargate): eksctl update command is deprecated, use upgrade instead ([#​7517](https://togithub.com/weaveworks/eksctl/issues/7517)) #### Acknowledgments The eksctl maintainers would like to sincerely thank: [@​skl](https://togithub.com/skl) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 4pm on thursday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/scottames/dots). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [cli/cli](https://togithub.com/cli/cli) | minor | `v2.42.1` -> `v2.53.0` | --- ### Release Notes <details> <summary>cli/cli (cli/cli)</summary> ### [`v2.53.0`](https://togithub.com/cli/cli/releases/tag/v2.53.0): GitHub CLI 2.53.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.52.0...v2.53.0) #### What's Changed - Add `--json` option to `variable get` command by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/9128](https://togithub.com/cli/cli/pull/9128) - Add GH_DEBUG to issue template by [@​TWiStErRob](https://togithub.com/TWiStErRob) in [https://github.com/cli/cli/pull/9167](https://togithub.com/cli/cli/pull/9167) - Fetch variable selected repo relationship when required by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9256](https://togithub.com/cli/cli/pull/9256) - build(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9250](https://togithub.com/cli/cli/pull/9250) - Alternate gh attestation trusted-root subcommand by [@​steiza](https://togithub.com/steiza) in [https://github.com/cli/cli/pull/9206](https://togithub.com/cli/cli/pull/9206) - fix: indentation in 'gh release create --help' by [@​cchristous](https://togithub.com/cchristous) in [https://github.com/cli/cli/pull/9296](https://togithub.com/cli/cli/pull/9296) - build(deps): bump actions/attest-build-provenance from 1.3.2 to 1.3.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9305](https://togithub.com/cli/cli/pull/9305) - docs: Update documentation for `gh repo create` to clarify owner by [@​jessehouwing](https://togithub.com/jessehouwing) in [https://github.com/cli/cli/pull/9309](https://togithub.com/cli/cli/pull/9309) - Fix panic when calling `gh pr view --json stateReason` by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9307](https://togithub.com/cli/cli/pull/9307) - Add `issue create --editor` by [@​notomo](https://togithub.com/notomo) in [https://github.com/cli/cli/pull/7193](https://togithub.com/cli/cli/pull/7193) - Add `pr update-branch` command by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8953](https://togithub.com/cli/cli/pull/8953) #### New Contributors - [@​TWiStErRob](https://togithub.com/TWiStErRob) made their first contribution in [https://github.com/cli/cli/pull/9167](https://togithub.com/cli/cli/pull/9167) - [@​cchristous](https://togithub.com/cchristous) made their first contribution in [https://github.com/cli/cli/pull/9296](https://togithub.com/cli/cli/pull/9296) - [@​jessehouwing](https://togithub.com/jessehouwing) made their first contribution in [https://github.com/cli/cli/pull/9309](https://togithub.com/cli/cli/pull/9309) - [@​notomo](https://togithub.com/notomo) made their first contribution in [https://github.com/cli/cli/pull/7193](https://togithub.com/cli/cli/pull/7193) **Full Changelog**: cli/cli@v2.52.0...v2.53.0 ### [`v2.52.0`](https://togithub.com/cli/cli/releases/tag/v2.52.0): GitHub CLI 2.52.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.51.0...v2.52.0) #### What's Changed - feat: add `-a` flag to `gh run list` by [@​joshuajtward](https://togithub.com/joshuajtward) in [https://github.com/cli/cli/pull/9162](https://togithub.com/cli/cli/pull/9162) - Attestation Verification - Buffer Fix by [@​Forrin](https://togithub.com/Forrin) in [https://github.com/cli/cli/pull/9198](https://togithub.com/cli/cli/pull/9198) - build(deps): bump actions/attest-build-provenance from 1.2.0 to 1.3.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9222](https://togithub.com/cli/cli/pull/9222) - build(deps): bump github.com/gorilla/websocket from 1.5.2 to 1.5.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9211](https://togithub.com/cli/cli/pull/9211) - build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9218](https://togithub.com/cli/cli/pull/9218) - build(deps): bump github.com/google/go-containerregistry from 0.19.1 to 0.19.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9217](https://togithub.com/cli/cli/pull/9217) - Remove `gh at verify` public beta note by [@​phillmv](https://togithub.com/phillmv) in [https://github.com/cli/cli/pull/9243](https://togithub.com/cli/cli/pull/9243) #### New Contributors - [@​joshuajtward](https://togithub.com/joshuajtward) made their first contribution in [https://github.com/cli/cli/pull/9162](https://togithub.com/cli/cli/pull/9162) - [@​Forrin](https://togithub.com/Forrin) made their first contribution in [https://github.com/cli/cli/pull/9198](https://togithub.com/cli/cli/pull/9198) **Full Changelog**: cli/cli@v2.51.0...v2.52.0 ### [`v2.51.0`](https://togithub.com/cli/cli/releases/tag/v2.51.0): GitHub CLI 2.51.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.50.0...v2.51.0) #### What's Changed - Ensure signed RPMs have attestations by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/9143](https://togithub.com/cli/cli/pull/9143) - Add `signer-repo` and `signer-workflow` flags to `gh attestation verify` by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/9137](https://togithub.com/cli/cli/pull/9137) - Docs: Specify rpm repository to avoid conflicts with community repositories by [@​hbenali](https://togithub.com/hbenali) in [https://github.com/cli/cli/pull/9151](https://togithub.com/cli/cli/pull/9151) - Replace `--json-result` flag with `--format=json` in the attestation cmd by [@​phillmv](https://togithub.com/phillmv) in [https://github.com/cli/cli/pull/9172](https://togithub.com/cli/cli/pull/9172) - Bump go-keyring to fix keepassxc prompt confirmation by [@​AlanD20](https://togithub.com/AlanD20) in [https://github.com/cli/cli/pull/9179](https://togithub.com/cli/cli/pull/9179) - build(deps): bump actions/attest-build-provenance from 1.1.2 to 1.2.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9169](https://togithub.com/cli/cli/pull/9169) - build(deps): bump goreleaser/goreleaser-action from 5 to 6 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9175](https://togithub.com/cli/cli/pull/9175) - build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9192](https://togithub.com/cli/cli/pull/9192) - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9197](https://togithub.com/cli/cli/pull/9197) - watch - handle annotation errors gracefully by [@​wingleung](https://togithub.com/wingleung) in [https://github.com/cli/cli/pull/9113](https://togithub.com/cli/cli/pull/9113) #### New Contributors - [@​hbenali](https://togithub.com/hbenali) made their first contribution in [https://github.com/cli/cli/pull/9151](https://togithub.com/cli/cli/pull/9151) - [@​AlanD20](https://togithub.com/AlanD20) made their first contribution in [https://github.com/cli/cli/pull/9179](https://togithub.com/cli/cli/pull/9179) - [@​wingleung](https://togithub.com/wingleung) made their first contribution in [https://github.com/cli/cli/pull/9113](https://togithub.com/cli/cli/pull/9113) **Full Changelog**: cli/cli@v2.50.0...v2.51.0 ### [`v2.50.0`](https://togithub.com/cli/cli/releases/tag/v2.50.0): GitHub CLI 2.50.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.49.2...v2.50.0) #### What's Changed - Refactor git credential flow code by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9089](https://togithub.com/cli/cli/pull/9089) - feat: add json output for `gh pr checks` by [@​nobe4](https://togithub.com/nobe4) in [https://github.com/cli/cli/pull/9079](https://togithub.com/cli/cli/pull/9079) - Rework first auth tests with new gitcredential abstractions by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9095](https://togithub.com/cli/cli/pull/9095) - list the various alias permutations for the command and subcommands, via '--help' and 'gh reference' by [@​gabemontero](https://togithub.com/gabemontero) in [https://github.com/cli/cli/pull/8824](https://togithub.com/cli/cli/pull/8824) - Removed tty message when checking for extension upgrades by [@​leevic31](https://togithub.com/leevic31) in [https://github.com/cli/cli/pull/9088](https://togithub.com/cli/cli/pull/9088) - Fix doc bug for gh run watch by [@​jasonodonnell](https://togithub.com/jasonodonnell) in [https://github.com/cli/cli/pull/9052](https://togithub.com/cli/cli/pull/9052) - feat: add support for stateReason in `gh pr view` by [@​nobe4](https://togithub.com/nobe4) in [https://github.com/cli/cli/pull/9080](https://togithub.com/cli/cli/pull/9080) - fix: rename the `Attempts` field to `Attempt`; expose in `gh run view` and `gh run ls` by [@​cawfeecake](https://togithub.com/cawfeecake) in [https://github.com/cli/cli/pull/8905](https://togithub.com/cli/cli/pull/8905) - Update regex in changedFilesNames to handle quoted paths by [@​anda3](https://togithub.com/anda3) in [https://github.com/cli/cli/pull/9115](https://togithub.com/cli/cli/pull/9115) - Add a `gh variable get FOO` command by [@​arnested](https://togithub.com/arnested) in [https://github.com/cli/cli/pull/9106](https://togithub.com/cli/cli/pull/9106) - Add macOS pkg installer to deployment ([#​7554](https://togithub.com/cli/cli/issues/7554)) by [@​paulober](https://togithub.com/paulober) in [https://github.com/cli/cli/pull/7555](https://togithub.com/cli/cli/pull/7555) - Add integration tests for `gh attestation verify` shared workflow use case by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/9107](https://togithub.com/cli/cli/pull/9107) - Add build provenance for gh CLI releases by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/9087](https://togithub.com/cli/cli/pull/9087) - build(deps): bump github.com/gabriel-vasile/mimetype from 1.4.3 to 1.4.4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9124](https://togithub.com/cli/cli/pull/9124) - Build completions during release on macos by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9136](https://togithub.com/cli/cli/pull/9136) - Clarify Mac OS Installer packages are unsigned by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/9140](https://togithub.com/cli/cli/pull/9140) #### New Contributors - [@​gabemontero](https://togithub.com/gabemontero) made their first contribution in [https://github.com/cli/cli/pull/8824](https://togithub.com/cli/cli/pull/8824) - [@​jasonodonnell](https://togithub.com/jasonodonnell) made their first contribution in [https://github.com/cli/cli/pull/9052](https://togithub.com/cli/cli/pull/9052) - [@​anda3](https://togithub.com/anda3) made their first contribution in [https://github.com/cli/cli/pull/9115](https://togithub.com/cli/cli/pull/9115) - [@​arnested](https://togithub.com/arnested) made their first contribution in [https://github.com/cli/cli/pull/9106](https://togithub.com/cli/cli/pull/9106) - [@​paulober](https://togithub.com/paulober) made their first contribution in [https://github.com/cli/cli/pull/7555](https://togithub.com/cli/cli/pull/7555) **Full Changelog**: cli/cli@v2.49.2...v2.50.0 ### [`v2.49.2`](https://togithub.com/cli/cli/releases/tag/v2.49.2): GitHub CLI 2.49.2 [Compare Source](https://togithub.com/cli/cli/compare/v2.49.1...v2.49.2) #### What's Changed - Improve `run list` doc with available `--json` fields by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8934](https://togithub.com/cli/cli/pull/8934) - Fix typos by [@​szepeviktor](https://togithub.com/szepeviktor) in [https://github.com/cli/cli/pull/9068](https://togithub.com/cli/cli/pull/9068) - Move config interfaces into gh package by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9060](https://togithub.com/cli/cli/pull/9060) - Creating doc to capture Codespace usage guidance by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/9066](https://togithub.com/cli/cli/pull/9066) - Fix repo fork regression by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9063](https://togithub.com/cli/cli/pull/9063) - Add --latest=false to `gh release create` docs by [@​kuzdogan](https://togithub.com/kuzdogan) in [https://github.com/cli/cli/pull/8987](https://togithub.com/cli/cli/pull/8987) - build(deps): bump github.com/sigstore/protobuf-specs from 0.3.1 to 0.3.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9075](https://togithub.com/cli/cli/pull/9075) #### New Contributors - [@​szepeviktor](https://togithub.com/szepeviktor) made their first contribution in [https://github.com/cli/cli/pull/9068](https://togithub.com/cli/cli/pull/9068) - [@​kuzdogan](https://togithub.com/kuzdogan) made their first contribution in [https://github.com/cli/cli/pull/8987](https://togithub.com/cli/cli/pull/8987) **Full Changelog**: cli/cli@v2.49.1...v2.49.2 ### [`v2.49.1`](https://togithub.com/cli/cli/releases/tag/v2.49.1): GitHub CLI 2.49.1 [Compare Source](https://togithub.com/cli/cli/compare/v2.49.0...v2.49.1) #### What's Changed - Do not mutate headers when initialising tableprinter by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9033](https://togithub.com/cli/cli/pull/9033) - Document relationship between host and active account by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9032](https://togithub.com/cli/cli/pull/9032) - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9034](https://togithub.com/cli/cli/pull/9034) - Run `attestation` command set integration tests separately by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/9035](https://togithub.com/cli/cli/pull/9035) - Added support for jobs with long filenames by [@​shayn-orca](https://togithub.com/shayn-orca) in [https://github.com/cli/cli/pull/8684](https://togithub.com/cli/cli/pull/8684) - Fix unused params across project by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9059](https://togithub.com/cli/cli/pull/9059) - Fix `attestation verify` source repository check bug by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/9053](https://togithub.com/cli/cli/pull/9053) #### New Contributors - [@​shayn-orca](https://togithub.com/shayn-orca) made their first contribution in [https://github.com/cli/cli/pull/8684](https://togithub.com/cli/cli/pull/8684) **Full Changelog**: cli/cli@v2.49.0...v2.49.1 ### [`v2.49.0`](https://togithub.com/cli/cli/releases/tag/v2.49.0): GitHub CLI 2.49.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.48.0...v2.49.0) #### Support for GitHub Artifact Attestations `v2.49.0` release introduces the `attestation` command set for downloading and verifying attestations about artifacts built in GitHub Actions! This is part of the larger Artifact Attestations initiative. An artifact attestation is a piece of cryptographically signed metadata that is generated as part of your artifact build process. These attestations bind artifacts to the details of the workflow run that produced them, and allow you to guarantee the integrity and provenance of any artifact built in GitHub Actions. ```shell ### Verify a local artifact gh attestation verify artifact.bin -o <your org> ### Verify a local artifact against a local artifact attestation gh attestation verify artifact.bin -b ./artifact-v0.0.1-bundle.json -o <your org> ### Verify an OCI image gh attestation verify oci:https://ghcr.io/foo/bar:latest -o <your org> ### Download artifact attestations gh attestation download artifact.bin -o <your org> ``` To get started, check out gh help attestation. You can also use the `gh at <command>` alias for short. #### What's Changed - Improve gh run rerun docs by [@​sochotnicky](https://togithub.com/sochotnicky) in [https://github.com/cli/cli/pull/8969](https://togithub.com/cli/cli/pull/8969) - build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8981](https://togithub.com/cli/cli/pull/8981) - Update `sigstore-go` dependency to v0.3.0 by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8977](https://togithub.com/cli/cli/pull/8977) - `gh attestation tuf-root-verify` offline test fix by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8975](https://togithub.com/cli/cli/pull/8975) - Update `gh attestation verify` output by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8991](https://togithub.com/cli/cli/pull/8991) - build(deps): bump google.golang.org/grpc from 1.62.1 to 1.62.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8989](https://togithub.com/cli/cli/pull/8989) - Remove `Hidden` flag from `gh attestation` command by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8998](https://togithub.com/cli/cli/pull/8998) - Add colon for `gh secret set` by [@​NeroBlackstone](https://togithub.com/NeroBlackstone) in [https://github.com/cli/cli/pull/9004](https://togithub.com/cli/cli/pull/9004) - Improve errors when loading bundle locally fails by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8996](https://togithub.com/cli/cli/pull/8996) - Support offline mode for `gh attestation verify` by [@​steiza](https://togithub.com/steiza) in [https://github.com/cli/cli/pull/8997](https://togithub.com/cli/cli/pull/8997) - Add `projectsV2` to JSON fields of `gh repo` commands by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/9007](https://togithub.com/cli/cli/pull/9007) - Support long URLs in `gh repo clone` by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/9008](https://togithub.com/cli/cli/pull/9008) - Fix issue with closing pager stream by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/9020](https://togithub.com/cli/cli/pull/9020) - proof of concept for flag-level disable auth check by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/9000](https://togithub.com/cli/cli/pull/9000) - Be more general with attestation host checks by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9019](https://togithub.com/cli/cli/pull/9019) - Add beta designation on attestation command set by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/9022](https://togithub.com/cli/cli/pull/9022) - Tweaked gh attestation help strings to generate nicer cli manual site. by [@​phillmv](https://togithub.com/phillmv) in [https://github.com/cli/cli/pull/9025](https://togithub.com/cli/cli/pull/9025) - Update cli/go-gh to v2.9.0 by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/9023](https://togithub.com/cli/cli/pull/9023) - Document repo clone protocol behaviour by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9030](https://togithub.com/cli/cli/pull/9030) #### New Contributors - [@​sochotnicky](https://togithub.com/sochotnicky) made their first contribution in [https://github.com/cli/cli/pull/8969](https://togithub.com/cli/cli/pull/8969) - [@​NeroBlackstone](https://togithub.com/NeroBlackstone) made their first contribution in [https://github.com/cli/cli/pull/9004](https://togithub.com/cli/cli/pull/9004) - [@​phillmv](https://togithub.com/phillmv) made their first contribution in [https://github.com/cli/cli/pull/9025](https://togithub.com/cli/cli/pull/9025) **Full Changelog**: cli/cli@v2.48.0...v2.49.0 ### [`v2.48.0`](https://togithub.com/cli/cli/releases/tag/v2.48.0): GitHub CLI 2.48.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.47.0...v2.48.0) #### The Big Stuff - Added support for `--slurp`ing JSON responses in `gh api` by [@​heaths](https://togithub.com/heaths) in [https://github.com/cli/cli/pull/8620](https://togithub.com/cli/cli/pull/8620) - Added `--skip-ssh-key` option to `gh auth login` command by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8935](https://togithub.com/cli/cli/pull/8935) - Added `numSelectedRepos` to JSON output of `gh secret list` by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8899](https://togithub.com/cli/cli/pull/8899) - Added support for multiple items in `gh api` nested array by [@​Ebonsignori](https://togithub.com/Ebonsignori) in [https://github.com/cli/cli/pull/8762](https://togithub.com/cli/cli/pull/8762) - Fixed panic when running `gh repo rename` by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8906](https://togithub.com/cli/cli/pull/8906) - Fixed panic when parsing IPv6 remote URLs by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8893](https://togithub.com/cli/cli/pull/8893) - Fixed `gh pr lock/unlock` not working when URL is passed by [@​t4kamura](https://togithub.com/t4kamura) in [https://github.com/cli/cli/pull/8837](https://togithub.com/cli/cli/pull/8837) - Fixed viewing run logs with filenames that the regex didn't handle [@​zdrve](https://togithub.com/zdrve) in [https://github.com/cli/cli/pull/8882](https://togithub.com/cli/cli/pull/8882) #### The Rest - Tidy `go.mod` by [@​matthewhughes934](https://togithub.com/matthewhughes934) in [https://github.com/cli/cli/pull/8958](https://togithub.com/cli/cli/pull/8958) - Fix cache contention in Go CI jobs by [@​matthewhughes934](https://togithub.com/matthewhughes934) in [https://github.com/cli/cli/pull/8957](https://togithub.com/cli/cli/pull/8957) - Fix `go` directive in `go.mod` by [@​matthewhughes934](https://togithub.com/matthewhughes934) in [https://github.com/cli/cli/pull/8956](https://togithub.com/cli/cli/pull/8956) - Update install_linux.md by [@​richterdavid](https://togithub.com/richterdavid) in [https://github.com/cli/cli/pull/8950](https://togithub.com/cli/cli/pull/8950) - build(deps): bump google.golang.org/grpc from 1.61.1 to 1.61.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8925](https://togithub.com/cli/cli/pull/8925) - Add codeowners entry for the GitHub TUF root included in the `attestation` command set by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8919](https://togithub.com/cli/cli/pull/8919) - Create stronger run log cache abstraction by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8931](https://togithub.com/cli/cli/pull/8931) - Remove naked returns from git ParseURL by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8929](https://togithub.com/cli/cli/pull/8929) - Fix api cache test by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8932](https://togithub.com/cli/cli/pull/8932) - Ensure run log cache creates cache dir if it doesn't exist by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8944](https://togithub.com/cli/cli/pull/8944) - Close zip file in run view tests by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8945](https://togithub.com/cli/cli/pull/8945) - Fix `attestation` cmd offline unit test failure by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8933](https://togithub.com/cli/cli/pull/8933) - Add support to `attestation` command for more predicate types. by [@​steiza](https://togithub.com/steiza) in [https://github.com/cli/cli/pull/8949](https://togithub.com/cli/cli/pull/8949) #### New Contributors - [@​babakks](https://togithub.com/babakks) made their first contribution in [https://github.com/cli/cli/pull/8906](https://togithub.com/cli/cli/pull/8906) - [@​t4kamura](https://togithub.com/t4kamura) made their first contribution in [https://github.com/cli/cli/pull/8837](https://togithub.com/cli/cli/pull/8837) - [@​zdrve](https://togithub.com/zdrve) made their first contribution in [https://github.com/cli/cli/pull/8882](https://togithub.com/cli/cli/pull/8882) - [@​Ebonsignori](https://togithub.com/Ebonsignori) made their first contribution in [https://github.com/cli/cli/pull/8762](https://togithub.com/cli/cli/pull/8762) - [@​matthewhughes934](https://togithub.com/matthewhughes934) made their first contribution in [https://github.com/cli/cli/pull/8958](https://togithub.com/cli/cli/pull/8958) - [@​richterdavid](https://togithub.com/richterdavid) made their first contribution in [https://github.com/cli/cli/pull/8950](https://togithub.com/cli/cli/pull/8950) **Full Changelog**: cli/cli@v2.47.0...v2.48.0 ### [`v2.47.0`](https://togithub.com/cli/cli/releases/tag/v2.47.0): GitHub CLI 2.47.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.46.0...v2.47.0) #### What's Changed - Fix typo in auth switch help example by [@​ihommani](https://togithub.com/ihommani) in [https://github.com/cli/cli/pull/8870](https://togithub.com/cli/cli/pull/8870) - Bump go-gh to 2.7.0 by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8884](https://togithub.com/cli/cli/pull/8884) - gh-attestation cmd integration by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8698](https://togithub.com/cli/cli/pull/8698) - Upgrade to Go 1.22 by [@​yanskun](https://togithub.com/yanskun) in [https://github.com/cli/cli/pull/8836](https://togithub.com/cli/cli/pull/8836) - Rely on go.mod go version in all workflows by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8911](https://togithub.com/cli/cli/pull/8911) - build(deps): bump gopkg.in/go-jose/go-jose.v2 from 2.6.1 to 2.6.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8902](https://togithub.com/cli/cli/pull/8902) - build(deps): bump github.com/docker/docker from 24.0.7+incompatible to 24.0.9+incompatible by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8903](https://togithub.com/cli/cli/pull/8903) - Fix segfault in error handling of `gh repo rename` by [@​satoqz](https://togithub.com/satoqz) in [https://github.com/cli/cli/pull/8888](https://togithub.com/cli/cli/pull/8888) - build(deps): bump google.golang.org/grpc from 1.61.0 to 1.61.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8912](https://togithub.com/cli/cli/pull/8912) - build(deps): bump github.com/gorilla/websocket from 1.5.0 to 1.5.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8913](https://togithub.com/cli/cli/pull/8913) - build(deps): bump github.com/google/go-containerregistry from 0.19.0 to 0.19.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8914](https://togithub.com/cli/cli/pull/8914) - build(deps): bump github.com/sigstore/protobuf-specs from 0.3.0 to 0.3.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8923](https://togithub.com/cli/cli/pull/8923) - Bump glamour to v0.7.0 and go mod tidy by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8920](https://togithub.com/cli/cli/pull/8920) #### New Contributors - [@​ihommani](https://togithub.com/ihommani) made their first contribution in [https://github.com/cli/cli/pull/8870](https://togithub.com/cli/cli/pull/8870) - [@​malancas](https://togithub.com/malancas) made their first contribution in [https://github.com/cli/cli/pull/8698](https://togithub.com/cli/cli/pull/8698) - [@​satoqz](https://togithub.com/satoqz) made their first contribution in [https://github.com/cli/cli/pull/8888](https://togithub.com/cli/cli/pull/8888) **Full Changelog**: cli/cli@v2.46.0...v2.47.0 ### [`v2.46.0`](https://togithub.com/cli/cli/releases/tag/v2.46.0): GitHub CLI 2.46.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.45.0...v2.46.0) #### What's Changed - Draft issue IDs are included in `project item-list` output by [@​yasunori0418](https://togithub.com/yasunori0418) in [https://github.com/cli/cli/pull/8754](https://togithub.com/cli/cli/pull/8754) - New `--dry-run` option for `pr create` by [@​v1v](https://togithub.com/v1v) in [https://github.com/cli/cli/pull/8376](https://togithub.com/cli/cli/pull/8376) - Bump go-keyring to fix race condition by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8833](https://togithub.com/cli/cli/pull/8833) - PR numbers are prefixed with owner/repo for context by [@​nobe4](https://togithub.com/nobe4) in [https://github.com/cli/cli/pull/8778](https://togithub.com/cli/cli/pull/8778) - Extra word removed in `codespaces` code comments by [@​cuinix](https://togithub.com/cuinix) in [https://github.com/cli/cli/pull/8795](https://togithub.com/cli/cli/pull/8795) - Clarified description of the `-u`, `--user` option for `gh auth token` by [@​gregsmi](https://togithub.com/gregsmi) in [https://github.com/cli/cli/pull/8797](https://togithub.com/cli/cli/pull/8797) - Fixed formatting for the description of `release upload` by [@​malor](https://togithub.com/malor) in [https://github.com/cli/cli/pull/8834](https://togithub.com/cli/cli/pull/8834) - Clarified the usage of `auth status` to list all authenticated accounts by [@​jsoref](https://togithub.com/jsoref) in [https://github.com/cli/cli/pull/8838](https://togithub.com/cli/cli/pull/8838) - Document auth switch behavior for two or more accounts by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8839](https://togithub.com/cli/cli/pull/8839) - Document run watch and view not supporting fine grained PATs by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8843](https://togithub.com/cli/cli/pull/8843) - build(deps): bump google.golang.org/protobuf from 1.30.0 to 1.33.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8811](https://togithub.com/cli/cli/pull/8811) - build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8844](https://togithub.com/cli/cli/pull/8844) #### New Contributors - [@​cuinix](https://togithub.com/cuinix) made their first contribution in [https://github.com/cli/cli/pull/8795](https://togithub.com/cli/cli/pull/8795) - [@​gregsmi](https://togithub.com/gregsmi) made their first contribution in [https://github.com/cli/cli/pull/8797](https://togithub.com/cli/cli/pull/8797) - [@​nobe4](https://togithub.com/nobe4) made their first contribution in [https://github.com/cli/cli/pull/8778](https://togithub.com/cli/cli/pull/8778) - [@​malor](https://togithub.com/malor) made their first contribution in [https://github.com/cli/cli/pull/8834](https://togithub.com/cli/cli/pull/8834) - [@​yasunori0418](https://togithub.com/yasunori0418) made their first contribution in [https://github.com/cli/cli/pull/8754](https://togithub.com/cli/cli/pull/8754) **Full Changelog**: cli/cli@v2.45.0...v2.46.0 ### [`v2.45.0`](https://togithub.com/cli/cli/releases/tag/v2.45.0): GitHub CLI 2.45.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.44.1...v2.45.0) #### What's Changed - Resolve go compiler regression by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8716](https://togithub.com/cli/cli/pull/8716) - bug: fixed the msg returned for patching a repo variable by [@​dean-tate](https://togithub.com/dean-tate) in [https://github.com/cli/cli/pull/8715](https://togithub.com/cli/cli/pull/8715) - Fix regression around commas in commit titles during `pr create` by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8768](https://togithub.com/cli/cli/pull/8768) - feat: Add `ref` option to `gh cache list` by [@​toshimaru](https://togithub.com/toshimaru) in [https://github.com/cli/cli/pull/8711](https://togithub.com/cli/cli/pull/8711) - Make comments in the default config file more informative by [@​bartekpacia](https://togithub.com/bartekpacia) in [https://github.com/cli/cli/pull/8756](https://togithub.com/cli/cli/pull/8756) - Link Project to Repository or Team Command by [@​benebsiny](https://togithub.com/benebsiny) in [https://github.com/cli/cli/pull/8595](https://togithub.com/cli/cli/pull/8595) - Clarify helptext for search prs regarding archived repos by [@​stuart-leitch](https://togithub.com/stuart-leitch) in [https://github.com/cli/cli/pull/8738](https://togithub.com/cli/cli/pull/8738) - Simplify install command for Debian & Ubuntu by [@​hongquan](https://togithub.com/hongquan) in [https://github.com/cli/cli/pull/8693](https://togithub.com/cli/cli/pull/8693) - Support `project view --web` with TTY by [@​harveysanders](https://togithub.com/harveysanders) in [https://github.com/cli/cli/pull/8773](https://togithub.com/cli/cli/pull/8773) - Bump cli/go-gh v2.6.0 for tenant using GH_TOKEN by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/8787](https://togithub.com/cli/cli/pull/8787) #### New Contributors - [@​dean-tate](https://togithub.com/dean-tate) made their first contribution in [https://github.com/cli/cli/pull/8715](https://togithub.com/cli/cli/pull/8715) - [@​bartekpacia](https://togithub.com/bartekpacia) made their first contribution in [https://github.com/cli/cli/pull/8756](https://togithub.com/cli/cli/pull/8756) - [@​stuart-leitch](https://togithub.com/stuart-leitch) made their first contribution in [https://github.com/cli/cli/pull/8738](https://togithub.com/cli/cli/pull/8738) - [@​hongquan](https://togithub.com/hongquan) made their first contribution in [https://github.com/cli/cli/pull/8693](https://togithub.com/cli/cli/pull/8693) **Full Changelog**: cli/cli@v2.44.1...v2.45.0 ### [`v2.44.1`](https://togithub.com/cli/cli/releases/tag/v2.44.1): GitHub CLI 2.44.1 [Compare Source](https://togithub.com/cli/cli/compare/v2.44.0...v2.44.1) #### What's Changed - Fix PR create regression around title and body when there is only one commit by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8707](https://togithub.com/cli/cli/pull/8707) **Full Changelog**: cli/cli@v2.44.0...v2.44.1 ### [`v2.44.0`](https://togithub.com/cli/cli/releases/tag/v2.44.0): GitHub CLI 2.44.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.43.1...v2.44.0) #### What's Changed - Feature: added Order flag for release list command by [@​leevic31](https://togithub.com/leevic31) in [https://github.com/cli/cli/pull/8632](https://togithub.com/cli/cli/pull/8632) - autofill with body by [@​guerinoni](https://togithub.com/guerinoni) in [https://github.com/cli/cli/pull/8423](https://togithub.com/cli/cli/pull/8423) - Add default values to web manual and man pages by [@​zsloane](https://togithub.com/zsloane) in [https://github.com/cli/cli/pull/8395](https://togithub.com/cli/cli/pull/8395) - build(deps): bump microsoft/setup-msbuild from 1.3.2 to 2.0.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8648](https://togithub.com/cli/cli/pull/8648) - Documentation for built-in aliases by [@​Rebeccasun31](https://togithub.com/Rebeccasun31) in [https://github.com/cli/cli/pull/8367](https://togithub.com/cli/cli/pull/8367) - Add more detail to fork failure message by [@​chrisroat](https://togithub.com/chrisroat) in [https://github.com/cli/cli/pull/8614](https://togithub.com/cli/cli/pull/8614) - feat: Add cache key option to `gh cache list` by [@​toshimaru](https://togithub.com/toshimaru) in [https://github.com/cli/cli/pull/8667](https://togithub.com/cli/cli/pull/8667) #### New Contributors - [@​zsloane](https://togithub.com/zsloane) made their first contribution in [https://github.com/cli/cli/pull/8395](https://togithub.com/cli/cli/pull/8395) - [@​Rebeccasun31](https://togithub.com/Rebeccasun31) made their first contribution in [https://github.com/cli/cli/pull/8367](https://togithub.com/cli/cli/pull/8367) - [@​chrisroat](https://togithub.com/chrisroat) made their first contribution in [https://github.com/cli/cli/pull/8614](https://togithub.com/cli/cli/pull/8614) - [@​toshimaru](https://togithub.com/toshimaru) made their first contribution in [https://github.com/cli/cli/pull/8667](https://togithub.com/cli/cli/pull/8667) **Full Changelog**: cli/cli@v2.43.1...v2.44.0 ### [`v2.43.1`](https://togithub.com/cli/cli/releases/tag/v2.43.1): GitHub CLI 2.43.1 [Compare Source](https://togithub.com/cli/cli/compare/v2.43.0...v2.43.1) #### What's Changed - Fix label create regression in v2.43.0 by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8653](https://togithub.com/cli/cli/pull/8653) **Full Changelog**: cli/cli@v2.43.0...v2.43.1 ### [`v2.43.0`](https://togithub.com/cli/cli/releases/tag/v2.43.0): GitHub CLI 2.43.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.42.1...v2.43.0) #### Special note With this release, the GitHub CLI team sees [@​samcoe](https://togithub.com/samcoe) off to new adventures beyond GitHub! 😿 Sam has been an amazing maintainer and colleague who has helped so many people adopt `gh` while trying to connect with the community regarding its needs. There will forever be a Sam-shaped hole no one can fill but hope he continues to be a part wherever his whirlwind journey takes him! ❤️ #### What's Changed - Remove project JSON formatting objects by [@​heaths](https://togithub.com/heaths) in [https://github.com/cli/cli/pull/8541](https://togithub.com/cli/cli/pull/8541) - build(deps): bump actions/upload-artifact from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8467](https://togithub.com/cli/cli/pull/8467) - build(deps): bump actions/download-artifact from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8466](https://togithub.com/cli/cli/pull/8466) - Add option --json for gh variable list by [@​w1mvy](https://togithub.com/w1mvy) in [https://github.com/cli/cli/pull/8516](https://togithub.com/cli/cli/pull/8516) - Add `--json` export flag for release list by [@​v1v](https://togithub.com/v1v) in [https://github.com/cli/cli/pull/8474](https://togithub.com/cli/cli/pull/8474) - 📝 (search/repos) add usage tips for --archived=false by [@​shion1305](https://togithub.com/shion1305) in [https://github.com/cli/cli/pull/8391](https://togithub.com/cli/cli/pull/8391) - fix: Prevent nil dereference in `pr view`. by [@​octo](https://togithub.com/octo) in [https://github.com/cli/cli/pull/8566](https://togithub.com/cli/cli/pull/8566) - Fix some typos raised by codespell by [@​fpistm](https://togithub.com/fpistm) in [https://github.com/cli/cli/pull/8589](https://togithub.com/cli/cli/pull/8589) - Add force flag to setup-git command by [@​rajhawaldar](https://togithub.com/rajhawaldar) in [https://github.com/cli/cli/pull/8552](https://togithub.com/cli/cli/pull/8552) - build(deps): bump actions/cache from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8594](https://togithub.com/cli/cli/pull/8594) - Feature: output URL for newly created repo by [@​leevic31](https://togithub.com/leevic31) in [https://github.com/cli/cli/pull/8574](https://togithub.com/cli/cli/pull/8574) - Update Arch repo to \[extra] by [@​Xeonacid](https://togithub.com/Xeonacid) in [https://github.com/cli/cli/pull/8607](https://togithub.com/cli/cli/pull/8607) - build(deps): bump microsoft/setup-msbuild from 1.3.1 to 1.3.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8629](https://togithub.com/cli/cli/pull/8629) - fix(pr create): clarify refspec to push to correct branch in the event of a conflicting tag by [@​arunsathiya](https://togithub.com/arunsathiya) in [https://github.com/cli/cli/pull/8618](https://togithub.com/cli/cli/pull/8618) - Send activity signals during non-interactive codespace SSH command by [@​dmgardiner25](https://togithub.com/dmgardiner25) in [https://github.com/cli/cli/pull/8639](https://togithub.com/cli/cli/pull/8639) - Upgrade cli/go-gh to v2.5.0 for home-manager fix by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/8647](https://togithub.com/cli/cli/pull/8647) #### New Contributors - [@​w1mvy](https://togithub.com/w1mvy) made their first contribution in [https://github.com/cli/cli/pull/8516](https://togithub.com/cli/cli/pull/8516) - [@​v1v](https://togithub.com/v1v) made their first contribution in [https://github.com/cli/cli/pull/8474](https://togithub.com/cli/cli/pull/8474) - [@​octo](https://togithub.com/octo) made their first contribution in [https://github.com/cli/cli/pull/8566](https://togithub.com/cli/cli/pull/8566) - [@​fpistm](https://togithub.com/fpistm) made their first contribution in [https://github.com/cli/cli/pull/8589](https://togithub.com/cli/cli/pull/8589) - [@​leevic31](https://togithub.com/leevic31) made their first contribution in [https://github.com/cli/cli/pull/8574](https://togithub.com/cli/cli/pull/8574) - [@​Xeonacid](https://togithub.com/Xeonacid) made their first contribution in [https://github.com/cli/cli/pull/8607](https://togithub.com/cli/cli/pull/8607) **Full Changelog**: cli/cli@v2.42.1...v2.43.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/DelineaXPM/github-workflows). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Fixes #8492
# execute on my fork repo $ go run cmd/gh/main.go variable list --json name (git)-[feat/variable-list-json-output] [~/go/src/github.com/w1mvy/cli] []