Babak K. Shandiz
fa871ffa67
ci: tag per build job
...
We need to tag the HEAD commit to make sure the right version is baked
into the built binaries.
See for more details:
- https://github.com/cli/cli/issues/12263
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-01-06 16:59:08 +00:00
Kynan Ware
4b86a43997
Merge pull request #12425 from cli/kw/update-azure-code-signing-endpoint-url
...
CI: Update Azure Code Signing endpoint URL
2026-01-05 13:55:13 -07:00
Kynan Ware
c9ba3793ee
Update Azure Code Signing endpoint URL
2026-01-05 13:43:55 -07:00
Kynan Ware
9d7510f878
Merge pull request #12424 from cli/kw/update-azure-code-signing-client
...
CI: Update Azure Code Signing client to 1.0.95
2026-01-05 12:02:03 -07:00
Kynan Ware
319567c2cf
Update Azure Code Signing client to 1.0.95
...
Also updates the source URL
2026-01-05 11:49:16 -07:00
fchimpan
5761a1e669
Update actions/checkout to v6 in extension workflow templates
2025-12-30 23:39:34 +09:00
majiayu000
73c7fd59ef
feat: allow git remote names in gh repo set-default
...
When specifying a repository for `gh repo set-default`, users can now
use a git remote name (e.g., "origin", "upstream") instead of the
full OWNER/REPO format.
The command first checks if the argument is a git remote name. If
found, it uses the corresponding repository. Otherwise, it falls
back to parsing the argument as OWNER/REPO format.
Example:
gh repo set-default origin
Fixes #9149
Signed-off-by: majiayu000 <1835304752@qq.com>
2025-12-26 19:21:11 +08:00
majiayu000
9daa22ebac
fix: error when head and base refs are identical in pr create
...
When a user runs `gh pr create` with head and base refs pointing to
the same ref in the same repository, the command now exits with an
error instead of proceeding with an invalid PR creation.
This prevents accidental pushes to the main branch and provides clear
feedback when users attempt to create a PR from the base branch.
Cross-repository PRs (e.g., from forks) with the same branch name
continue to work as expected.
Fixes #11903
Signed-off-by: majiayu000 <1835304752@qq.com>
2025-12-26 19:14:06 +08:00
Andy Feller
6acf74e04e
Merge pull request #12324 from chrishenzie/nil-ptr-deref
...
fix: prevent panic when processing null project items
2025-12-22 10:28:20 -05:00
Andy Feller
1117477da2
Add test to ensure null values are skipped
2025-12-22 10:16:21 -05:00
Babak K. Shandiz
baf6299183
Merge pull request #12339 from cli/dependabot/github_actions/actions/attest-build-provenance-3.1.0
...
chore(deps): bump actions/attest-build-provenance from 3.0.0 to 3.1.0
2025-12-19 19:34:03 +00:00
Babak K. Shandiz
aed52d5ee1
ci: disable create storage record for artifacts
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-19 19:17:44 +00:00
dependabot[bot]
4f5e755c24
chore(deps): bump actions/attest-build-provenance from 3.0.0 to 3.1.0
...
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/attest-build-provenance/releases )
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md )
- [Commits](977bb373ed...00014ed6ed )
---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
dependency-version: 3.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-19 19:13:50 +00:00
Babak K. Shandiz
146e886761
Merge pull request #12318 from cli/babakks/upgrade-to-goreleaser-v2
...
ci: upgrade to GoReleaser `v2`
2025-12-19 19:12:19 +00:00
Babak K. Shandiz
b3aae1f868
Merge pull request #12337 from cli/babakks/upgrade-cli-oauth
...
chore: upgrade to `cli/oauth@v1.2.1`
2025-12-19 13:25:42 +00:00
Babak K. Shandiz
c13b8285b1
chore: run go mod tidy
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-19 11:49:55 +00:00
Babak K. Shandiz
00e44beee5
chore: update licenses
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-19 11:46:15 +00:00
Babak K. Shandiz
d77eb7f67b
chore: upgrade github.com/cli/oauth to v1.2.1
...
The new version ships with fixes to handling of `slow_down` errors.
(See https://github.com/cli/oauth/releases/tag/v1.2.1 )
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-19 11:44:25 +00:00
Chris Henzie
4a106c1acf
fix: prevent panic when processing null project items
...
The GraphQL API can return `null` nodes in the `projectItems`
connection, causing a runtime panic (nil pointer dereference) when the
CLI attempted to access fields on these nil nodes. This crash occurs
even with personal access tokens with full read access.
Adds a check to safely skip `nil` nodes in `ProjectsV2ItemsForIssue` and
`ProjectsV2ItemsForPullRequest`.
Signed-off-by: Chris Henzie <chrishenzie@google.com>
2025-12-16 11:14:55 -08:00
Babak K. Shandiz
045afa4fc6
ci: fix binary artficat dirs used in macos job
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-15 18:56:38 +00:00
Babak K. Shandiz
dd6783868b
ci: fix binary artifact dir paths used in Windows job
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-15 18:56:07 +00:00
Babak K. Shandiz
89c66542b8
ci: upgrade to GoReleaser v2 CLI syntax for --skip
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-15 18:55:31 +00:00
Babak K. Shandiz
aeb2c43aed
ci: limit deb/rpm packages to linux build
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-15 18:54:38 +00:00
Babak K. Shandiz
536bc9e895
ci: replace archives.format with archives.formats array
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-15 18:53:54 +00:00
Babak K. Shandiz
b76ee8d74d
ci: remove redundant archives.rlcp
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-15 18:53:26 +00:00
Babak K. Shandiz
5bd0626dc6
ci: replace archives.builds with archives.ids
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-15 18:46:23 +00:00
Babak K. Shandiz
c77471a7f4
ci: quote 386 arch
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-15 18:45:20 +00:00
Babak K. Shandiz
5b9b012690
ci: upgrade .goreleaser.yml to v2
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-15 18:44:57 +00:00
Babak K. Shandiz
a777a95e9a
ci: upgrade to GoReleaser v2
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-15 18:44:25 +00:00
Babak K. Shandiz
51dfeeaa72
Merge pull request #12300 from cli/dependabot/go_modules/golang.org/x/crypto-0.46.0
...
chore(deps): bump golang.org/x/crypto from 0.45.0 to 0.46.0
2025-12-12 22:22:38 +00:00
Babak K. Shandiz
2894b786e4
chore: update licenses
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-12 22:11:22 +00:00
dependabot[bot]
1d2a5873d4
chore(deps): bump golang.org/x/crypto from 0.45.0 to 0.46.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.45.0 to 0.46.0.
- [Commits](https://github.com/golang/crypto/compare/v0.45.0...v0.46.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.46.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 16:28:55 +00:00
Babak K. Shandiz
bb0c794c9a
Merge pull request #12302 from cli/dependabot/go_modules/github.com/gdamore/tcell/v2-2.13.4
...
chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.2 to 2.13.4
2025-12-12 16:26:29 +00:00
Babak K. Shandiz
9526c3d8d3
chore: update licenses
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-12 16:12:57 +00:00
dependabot[bot]
d3dc792e93
chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.2 to 2.13.4
...
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell ) from 2.13.2 to 2.13.4.
- [Release notes](https://github.com/gdamore/tcell/releases )
- [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv3.md )
- [Commits](https://github.com/gdamore/tcell/compare/v2.13.2...v2.13.4 )
---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
dependency-version: 2.13.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 14:03:26 +00:00
Babak K. Shandiz
b18776626f
Merge pull request #12252 from cli/dependabot/github_actions/golangci/golangci-lint-action-9.2.0
...
chore(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0
2025-12-12 12:16:23 +00:00
dependabot[bot]
67559b67a4
chore(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 9.1.0 to 9.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](e7fa5ac41e...1e7e51e771 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-version: 9.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 12:05:50 +00:00
Babak K. Shandiz
8b5ec86986
Merge pull request #12262 from cli/dependabot/go_modules/github.com/gdamore/tcell/v2-2.13.2
...
chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.1 to 2.13.2
2025-12-12 12:04:27 +00:00
Babak K. Shandiz
ee64ac6f79
chore: update licenses
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-12 11:54:10 +00:00
Babak K. Shandiz
343f6d379d
Merge pull request #12255 from cli/dependabot/go_modules/github.com/spf13/cobra-1.10.2
...
chore(deps): bump github.com/spf13/cobra from 1.10.1 to 1.10.2
2025-12-12 11:43:16 +00:00
Babak K. Shandiz
cc8ba92062
chore: update licenses
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-12 11:31:56 +00:00
dependabot[bot]
0bbbe3bae8
chore(deps): bump github.com/spf13/cobra from 1.10.1 to 1.10.2
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.10.1...v1.10.2 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-version: 1.10.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 11:16:24 +00:00
Babak K. Shandiz
32d35c4f7e
Merge pull request #12282 from cli/dependabot/go_modules/golang.org/x/term-0.38.0
...
chore(deps): bump golang.org/x/term from 0.37.0 to 0.38.0
2025-12-12 11:07:53 +00:00
Babak K. Shandiz
5f5b68f4bc
chore: update licenses
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-12 10:55:52 +00:00
dependabot[bot]
833c95718b
chore(deps): bump golang.org/x/term from 0.37.0 to 0.38.0
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/term/compare/v0.37.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-version: 0.38.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 10:42:21 +00:00
Babak K. Shandiz
f1e4ec8286
Merge pull request #12281 from cli/dependabot/go_modules/golang.org/x/text-0.32.0
...
chore(deps): bump golang.org/x/text from 0.31.0 to 0.32.0
2025-12-12 10:40:58 +00:00
Babak K. Shandiz
3096289803
chore: update licenses
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-12 10:27:46 +00:00
dependabot[bot]
7a05935e34
chore(deps): bump golang.org/x/text from 0.31.0 to 0.32.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.31.0...v0.32.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.32.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 10:18:32 +00:00
Babak K. Shandiz
b0f1e1a4de
Merge pull request #12274 from cli/dependabot/go_modules/golang.org/x/sync-0.19.0
...
chore(deps): bump golang.org/x/sync from 0.18.0 to 0.19.0
2025-12-12 10:16:51 +00:00
Babak K. Shandiz
b3b99959d6
chore: update licenses
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-12 10:06:23 +00:00