Skip to content
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

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

w1mvy
Copy link
Contributor

@w1mvy w1mvy commented Jan 3, 2024

Fixes #8492

$ go run cmd/gh/main.go variable list --help
List variables on one of the following levels:
- repository (default): available to GitHub Actions runs or Dependabot in a repository
- environment: available to GitHub Actions runs for a deployment environment in a repository
- organization: available to GitHub Actions runs or Dependabot within an organization

For more information about output formatting flags, see `gh help formatting`.

USAGE
  gh variable list [flags]

FLAGS
  -e, --env string        List variables for an environment
  -q, --jq expression     Filter JSON output using a jq expression
      --json fields       Output JSON with the specified fields
  -o, --org string        List variables for an organization
  -t, --template string   Format JSON output using a Go template; see "gh help formatting"

INHERITED FLAGS
      --help                     Show help for command
  -R, --repo [HOST/]OWNER/REPO   Select another repository using the [HOST/]OWNER/REPO format

LEARN MORE
  Use `gh <command> <subcommand> --help` for more information about a command.
  Read the manual at https://cli.github.com/manual
# 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]
[]

@w1mvy w1mvy requested a review from a team as a code owner January 3, 2024 00:58
@w1mvy w1mvy requested review from samcoe and removed request for a team January 3, 2024 00:58
@cliAutomation cliAutomation added the external pull request originating outside of the CLI core team label Jan 3, 2024
@andyfeller
Copy link
Contributor

@w1mvy : thank you for opening this PR! ❤️ At first glance, I'm reminded about similarities when support for exporting secrets was done in #8081 regarding differences in variables at various levels.

So, just trying to correlate that discussion with respect here as it should largely apply.

Copy link
Contributor

@andyfeller andyfeller left a 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 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

@w1mvy w1mvy Jan 6, 2024

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

cli/pkg/cmd/pr/list/list.go

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

Comment on lines 256 to 272

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
}
Copy link
Contributor

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.

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"`
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
}

Copy link
Contributor Author

@w1mvy w1mvy Jan 6, 2024

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?

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
}

Copy link
Contributor

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.

@samcoe samcoe force-pushed the feat/variable-list-json-output branch from b0da755 to ad90e61 Compare January 10, 2024 19:49
Copy link
Contributor

@samcoe samcoe left a 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{} {
Copy link
Contributor

@samcoe samcoe Jan 10, 2024

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.

Copy link
Contributor

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) {
Copy link
Contributor

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.

@samcoe samcoe force-pushed the feat/variable-list-json-output branch from ad90e61 to c2f6a4e Compare January 10, 2024 20:01
@w1mvy
Copy link
Contributor Author

w1mvy commented Jan 11, 2024

@samcoe Thanks for your review and fix!! LGTM 👍
One small thing. With this change, the key name returned by gh secret list --json is going to be changed from snake case to camel case. (But other commands return in camel case, so I do not think this change itself is a problem. I'm thinking it's about the decision to include it in the release notes or not.)

@samcoe
Copy link
Contributor

samcoe commented Jan 11, 2024

@w1mvy That is a good call out, we can definitely make sure to mention it in the release notes.

@samcoe samcoe dismissed andyfeller’s stale review January 17, 2024 18:08

I addressed PR comments and concerns.

@samcoe samcoe merged commit 9dd5805 into cli:trunk Jan 17, 2024
6 checks passed
renovate bot referenced this pull request in scottames/dots Feb 3, 2024
[![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


[#&#8203;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

[#&#8203;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


[#&#8203;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


[#&#8203;19568](https://togithub.com/aquaproj/aqua-registry/issues/19568)
sharkdp/bat: Regenerate config by `cmdx s`

[#&#8203;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


[#&#8203;19518](https://togithub.com/aquaproj/aqua-registry/issues/19518)
[crates.io/eza](https://crates.io/crates/eza): A modern replacement for
ls [@&#8203;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


[#&#8203;19530](https://togithub.com/aquaproj/aqua-registry/issues/19530)
eza-community/eza: Regenerate config by `cmdx s`

[#&#8203;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!

[@&#8203;Omochice](https://togithub.com/Omochice)
[#&#8203;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


[#&#8203;13513](https://togithub.com/aquaproj/aqua-registry/issues/13513)
[#&#8203;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
[@&#8203;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


[#&#8203;19450](https://togithub.com/aquaproj/aqua-registry/issues/19450)
lxc/incus: Follow up changes of incus v0.5.1

[#&#8203;19447](https://togithub.com/aquaproj/aqua-registry/issues/19447)
kool-dev/kool: Follow up changes of kool 3.0.0

[#&#8203;19442](https://togithub.com/aquaproj/aqua-registry/issues/19442)
mattn/zig-update: Follow up changes of zig-update

[#&#8203;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


[#&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;andyfeller](https://togithub.com/andyfeller) in
[https://github.com/cli/cli/pull/8647](https://togithub.com/cli/cli/pull/8647)

#### New Contributors

- [@&#8203;w1mvy](https://togithub.com/w1mvy) made their first
contribution in
[https://github.com/cli/cli/pull/8516](https://togithub.com/cli/cli/pull/8516)
- [@&#8203;v1v](https://togithub.com/v1v) made their first contribution
in
[https://github.com/cli/cli/pull/8474](https://togithub.com/cli/cli/pull/8474)
- [@&#8203;octo](https://togithub.com/octo) made their first
contribution in
[https://github.com/cli/cli/pull/8566](https://togithub.com/cli/cli/pull/8566)
- [@&#8203;fpistm](https://togithub.com/fpistm) made their first
contribution in
[https://github.com/cli/cli/pull/8589](https://togithub.com/cli/cli/pull/8589)
- [@&#8203;leevic31](https://togithub.com/leevic31) made their first
contribution in
[https://github.com/cli/cli/pull/8574](https://togithub.com/cli/cli/pull/8574)
- [@&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;1954](https://togithub.com/nektos/act/issues/1954))

##### Bug fixes

- [`054caec`](https://togithub.com/nektos/act/commit/054caec) fix: use
correct path to toolcache
([#&#8203;1494](https://togithub.com/nektos/act/issues/1494))
- [`5e0d29d`](https://togithub.com/nektos/act/commit/5e0d29d) fix:
improve warning about remote not found
([#&#8203;2169](https://togithub.com/nektos/act/issues/2169))
- [`6dd6725`](https://togithub.com/nektos/act/commit/6dd6725) fix:
improve new-action-cache fetch failure error
([#&#8203;2172](https://togithub.com/nektos/act/issues/2172))
- [`09d4b5d`](https://togithub.com/nektos/act/commit/09d4b5d) fix:
subpath actions via new artifact cache
([#&#8203;2170](https://togithub.com/nektos/act/issues/2170))
- [`a6ec2c1`](https://togithub.com/nektos/act/commit/a6ec2c1) fix:
improve action not found error
([#&#8203;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 ([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;2189](https://togithub.com/nektos/act/issues/2189))
- [`36e0261`](https://togithub.com/nektos/act/commit/36e0261)
build(deps): bump github.com/opencontainers/image-spec
([#&#8203;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
([#&#8203;2186](https://togithub.com/nektos/act/issues/2186))
- [`5a80a04`](https://togithub.com/nektos/act/commit/5a80a04) refactor:
filecollector into new package
([#&#8203;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
([#&#8203;2175](https://togithub.com/nektos/act/issues/2175))
- [`424fd5e`](https://togithub.com/nektos/act/commit/424fd5e)
refactor(cmd/root): simplify `parseEnvs`
([#&#8203;2162](https://togithub.com/nektos/act/issues/2162))
- [`6a8c42a`](https://togithub.com/nektos/act/commit/6a8c42a) Add
containerd's normalized architectures to archMapper
([#&#8203;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
([#&#8203;2164](https://togithub.com/nektos/act/issues/2164))
- [`8072a00`](https://togithub.com/nektos/act/commit/8072a00)
WorkflowDispatchConfig supports multiple yaml node kinds
([#&#8203;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
([#&#8203;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 ([#&#8203;2156](https://togithub.com/nektos/act/issues/2156))
- [`adbe229`](https://togithub.com/nektos/act/commit/adbe229) Add
support for NetBSD
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;3486](https://togithub.com/sigstore/cosign/issues/3486))
- fix(clean): Fix clean cmd for private registries
([#&#8203;3446](https://togithub.com/sigstore/cosign/issues/3446))
- Fixed BYO PKI verification
([#&#8203;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
([#&#8203;3466](https://togithub.com/sigstore/cosign/issues/3466))
- Add support for OpenVEX predicate type
([#&#8203;3405](https://togithub.com/sigstore/cosign/issues/3405))

#### Documentation

- Resolves
[#&#8203;3088](https://togithub.com/sigstore/cosign/issues/3088):
`version` sub-command expected behaviour documentation and testing
([#&#8203;3447](https://togithub.com/sigstore/cosign/issues/3447))
- add examples for cosign attach signature cmd
([#&#8203;3468](https://togithub.com/sigstore/cosign/issues/3468))

#### Misc

- Remove CertSubject function
([#&#8203;3467](https://togithub.com/sigstore/cosign/issues/3467))
- Use local rekor and fulcio instances in e2e tests
([#&#8203;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
[#&#8203;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
([#&#8203;137](https://togithub.com/simulot/immich-go/issues/137))
- [`815ef70`](https://togithub.com/simulot/immich-go/commit/815ef70)
fix: [#&#8203;131](https://togithub.com/simulot/immich-go/issues/131)
panic syntax error in pattern
- [`a51e022`](https://togithub.com/simulot/immich-go/commit/a51e022)
fix: [#&#8203;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
#&#8203;465](https://togithub.com/wagoodman/dive/issues/465)]
- How to use Dive in gitlab CI Securely? \[[Issue
#&#8203;493](https://togithub.com/wagoodman/dive/issues/493)]

##### Bug Fixes

- Dive always fail when trying to fetch local image \[[Issue
#&#8203;462](https://togithub.com/wagoodman/dive/issues/462)]
- Unable to analyze the image using dive (Docker 25+ compatibility)
\[[Issue #&#8203;498](https://togithub.com/wagoodman/dive/issues/498)]
\[[PR #&#8203;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 #&#8203;461](https://togithub.com/wagoodman/dive/pull/461)]
\[[SuperSandro2000](https://togithub.com/SuperSandro2000)]
- docs: Adds instructions for snap installation \[[PR
#&#8203;484](https://togithub.com/wagoodman/dive/pull/484)]
\[[gruyaume](https://togithub.com/gruyaume)]
- DIVE_VERSION does not need to be exported \[[PR
#&#8203;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
#&#8203;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
([#&#8203;7522](https://togithub.com/weaveworks/eksctl/issues/7522))

#### 🎯 Improvements

- Skip draining managed nodegroups when deleting cluster
([#&#8203;7515](https://togithub.com/weaveworks/eksctl/issues/7515))
- Expand Karpenter settings.aws block to settings for v0.33.0 and
greater
([#&#8203;7503](https://togithub.com/weaveworks/eksctl/issues/7503))

#### 📝 Documentation

- docs(fargate): eksctl update command is deprecated, use upgrade
instead
([#&#8203;7517](https://togithub.com/weaveworks/eksctl/issues/7517))

#### Acknowledgments

The eksctl maintainers would like to sincerely thank:
[@&#8203;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>
renovate bot referenced this pull request in DelineaXPM/github-workflows Jul 18, 2024
[![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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;babakks](https://togithub.com/babakks) in
[https://github.com/cli/cli/pull/8953](https://togithub.com/cli/cli/pull/8953)

#### New Contributors

- [@&#8203;TWiStErRob](https://togithub.com/TWiStErRob) made their first
contribution in
[https://github.com/cli/cli/pull/9167](https://togithub.com/cli/cli/pull/9167)
- [@&#8203;cchristous](https://togithub.com/cchristous) made their first
contribution in
[https://github.com/cli/cli/pull/9296](https://togithub.com/cli/cli/pull/9296)
- [@&#8203;jessehouwing](https://togithub.com/jessehouwing) made their
first contribution in
[https://github.com/cli/cli/pull/9309](https://togithub.com/cli/cli/pull/9309)
- [@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;phillmv](https://togithub.com/phillmv) in
[https://github.com/cli/cli/pull/9243](https://togithub.com/cli/cli/pull/9243)

#### New Contributors

- [@&#8203;joshuajtward](https://togithub.com/joshuajtward) made their
first contribution in
[https://github.com/cli/cli/pull/9162](https://togithub.com/cli/cli/pull/9162)
- [@&#8203;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
[@&#8203;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 [@&#8203;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 [@&#8203;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 [@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;wingleung](https://togithub.com/wingleung) in
[https://github.com/cli/cli/pull/9113](https://togithub.com/cli/cli/pull/9113)

#### New Contributors

- [@&#8203;hbenali](https://togithub.com/hbenali) made their first
contribution in
[https://github.com/cli/cli/pull/9151](https://togithub.com/cli/cli/pull/9151)
- [@&#8203;AlanD20](https://togithub.com/AlanD20) made their first
contribution in
[https://github.com/cli/cli/pull/9179](https://togithub.com/cli/cli/pull/9179)
- [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
([#&#8203;7554](https://togithub.com/cli/cli/issues/7554)) by
[@&#8203;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 [@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;andyfeller](https://togithub.com/andyfeller) in
[https://github.com/cli/cli/pull/9140](https://togithub.com/cli/cli/pull/9140)

#### New Contributors

- [@&#8203;gabemontero](https://togithub.com/gabemontero) made their
first contribution in
[https://github.com/cli/cli/pull/8824](https://togithub.com/cli/cli/pull/8824)
- [@&#8203;jasonodonnell](https://togithub.com/jasonodonnell) made their
first contribution in
[https://github.com/cli/cli/pull/9052](https://togithub.com/cli/cli/pull/9052)
- [@&#8203;anda3](https://togithub.com/anda3) made their first
contribution in
[https://github.com/cli/cli/pull/9115](https://togithub.com/cli/cli/pull/9115)
- [@&#8203;arnested](https://togithub.com/arnested) made their first
contribution in
[https://github.com/cli/cli/pull/9106](https://togithub.com/cli/cli/pull/9106)
- [@&#8203;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
[@&#8203;babakks](https://togithub.com/babakks) in
[https://github.com/cli/cli/pull/8934](https://togithub.com/cli/cli/pull/8934)
- Fix typos by [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/cli/cli/pull/9075](https://togithub.com/cli/cli/pull/9075)

#### New Contributors

- [@&#8203;szepeviktor](https://togithub.com/szepeviktor) made their
first contribution in
[https://github.com/cli/cli/pull/9068](https://togithub.com/cli/cli/pull/9068)
- [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;malancas](https://togithub.com/malancas) in
[https://github.com/cli/cli/pull/9053](https://togithub.com/cli/cli/pull/9053)

#### New Contributors

- [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;williammartin](https://togithub.com/williammartin) in
[https://github.com/cli/cli/pull/9030](https://togithub.com/cli/cli/pull/9030)

#### New Contributors

- [@&#8203;sochotnicky](https://togithub.com/sochotnicky) made their
first contribution in
[https://github.com/cli/cli/pull/8969](https://togithub.com/cli/cli/pull/8969)
- [@&#8203;NeroBlackstone](https://togithub.com/NeroBlackstone) made
their first contribution in
[https://github.com/cli/cli/pull/9004](https://togithub.com/cli/cli/pull/9004)
- [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;steiza](https://togithub.com/steiza) in
[https://github.com/cli/cli/pull/8949](https://togithub.com/cli/cli/pull/8949)

#### New Contributors

- [@&#8203;babakks](https://togithub.com/babakks) made their first
contribution in
[https://github.com/cli/cli/pull/8906](https://togithub.com/cli/cli/pull/8906)
- [@&#8203;t4kamura](https://togithub.com/t4kamura) made their first
contribution in
[https://github.com/cli/cli/pull/8837](https://togithub.com/cli/cli/pull/8837)
- [@&#8203;zdrve](https://togithub.com/zdrve) made their first
contribution in
[https://github.com/cli/cli/pull/8882](https://togithub.com/cli/cli/pull/8882)
- [@&#8203;Ebonsignori](https://togithub.com/Ebonsignori) made their
first contribution in
[https://github.com/cli/cli/pull/8762](https://togithub.com/cli/cli/pull/8762)
- [@&#8203;matthewhughes934](https://togithub.com/matthewhughes934) made
their first contribution in
[https://github.com/cli/cli/pull/8958](https://togithub.com/cli/cli/pull/8958)
- [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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 [@&#8203;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
[@&#8203;williammartin](https://togithub.com/williammartin) in
[https://github.com/cli/cli/pull/8920](https://togithub.com/cli/cli/pull/8920)

#### New Contributors

- [@&#8203;ihommani](https://togithub.com/ihommani) made their first
contribution in
[https://github.com/cli/cli/pull/8870](https://togithub.com/cli/cli/pull/8870)
- [@&#8203;malancas](https://togithub.com/malancas) made their first
contribution in
[https://github.com/cli/cli/pull/8698](https://togithub.com/cli/cli/pull/8698)
- [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/cli/cli/pull/8844](https://togithub.com/cli/cli/pull/8844)

#### New Contributors

- [@&#8203;cuinix](https://togithub.com/cuinix) made their first
contribution in
[https://github.com/cli/cli/pull/8795](https://togithub.com/cli/cli/pull/8795)
- [@&#8203;gregsmi](https://togithub.com/gregsmi) made their first
contribution in
[https://github.com/cli/cli/pull/8797](https://togithub.com/cli/cli/pull/8797)
- [@&#8203;nobe4](https://togithub.com/nobe4) made their first
contribution in
[https://github.com/cli/cli/pull/8778](https://togithub.com/cli/cli/pull/8778)
- [@&#8203;malor](https://togithub.com/malor) made their first
contribution in
[https://github.com/cli/cli/pull/8834](https://togithub.com/cli/cli/pull/8834)
- [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;andyfeller](https://togithub.com/andyfeller) in
[https://github.com/cli/cli/pull/8787](https://togithub.com/cli/cli/pull/8787)

#### New Contributors

- [@&#8203;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)
- [@&#8203;bartekpacia](https://togithub.com/bartekpacia) made their
first contribution in
[https://github.com/cli/cli/pull/8756](https://togithub.com/cli/cli/pull/8756)
- [@&#8203;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)
- [@&#8203;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 [@&#8203;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
[@&#8203;leevic31](https://togithub.com/leevic31) in
[https://github.com/cli/cli/pull/8632](https://togithub.com/cli/cli/pull/8632)
- autofill with body by
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;toshimaru](https://togithub.com/toshimaru) in
[https://github.com/cli/cli/pull/8667](https://togithub.com/cli/cli/pull/8667)

#### New Contributors

- [@&#8203;zsloane](https://togithub.com/zsloane) made their first
contribution in
[https://github.com/cli/cli/pull/8395](https://togithub.com/cli/cli/pull/8395)
- [@&#8203;Rebeccasun31](https://togithub.com/Rebeccasun31) made their
first contribution in
[https://github.com/cli/cli/pull/8367](https://togithub.com/cli/cli/pull/8367)
- [@&#8203;chrisroat](https://togithub.com/chrisroat) made their first
contribution in
[https://github.com/cli/cli/pull/8614](https://togithub.com/cli/cli/pull/8614)
- [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;andyfeller](https://togithub.com/andyfeller) in
[https://github.com/cli/cli/pull/8647](https://togithub.com/cli/cli/pull/8647)

#### New Contributors

- [@&#8203;w1mvy](https://togithub.com/w1mvy) made their first
contribution in
[https://github.com/cli/cli/pull/8516](https://togithub.com/cli/cli/pull/8516)
- [@&#8203;v1v](https://togithub.com/v1v) made their first contribution
in
[https://github.com/cli/cli/pull/8474](https://togithub.com/cli/cli/pull/8474)
- [@&#8203;octo](https://togithub.com/octo) made their first
contribution in
[https://github.com/cli/cli/pull/8566](https://togithub.com/cli/cli/pull/8566)
- [@&#8203;fpistm](https://togithub.com/fpistm) made their first
contribution in
[https://github.com/cli/cli/pull/8589](https://togithub.com/cli/cli/pull/8589)
- [@&#8203;leevic31](https://togithub.com/leevic31) made their first
contribution in
[https://github.com/cli/cli/pull/8574](https://togithub.com/cli/cli/pull/8574)
- [@&#8203;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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external pull request originating outside of the CLI core team
Projects
Status: Needs review 🤔
Development

Successfully merging this pull request may close these issues.

Add options --json for gh variable list
4 participants