Commit graph

10760 commits

Author SHA1 Message Date
Babak K. Shandiz
c858c524b1
Merge pull request #12440 from cli/babakks/enable-noop-linters
ci: enable noop linters
2026-01-07 22:11:36 +00:00
Kynan Ware
d808dcdc0f
Merge pull request #12393 from fchimpan/update-extention-create-template
Update actions/checkout to v6 in extension workflow templates
2026-01-07 11:46:03 -07:00
Babak K. Shandiz
d817414cd6
Merge pull request #12289 from cli/wm/bump-sigstore-go
Bump sigstore-go to v1.1.4
2026-01-07 17:00:54 +00:00
Babak K. Shandiz
119e8c5b25
chore: update licenses using go-licenses@v2
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-01-07 15:48:31 +00:00
Babak K. Shandiz
cd61e6ce45
chore: install go-licenses@v2 in scripts
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-01-07 15:48:02 +00:00
William Martin
249de236bd
Update go-licenses for 1.25 2026-01-07 15:38:58 +00:00
Babak K. Shandiz
7925d73e38
chore: update licenses
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-01-07 15:21:19 +00:00
Babak K. Shandiz
ed4d383e11
chore: bump github.com/sigstore/sigstore-go to v1.1.4
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-01-07 15:17:31 +00:00
Babak K. Shandiz
ce327f7b2e
chore: remove redundant comment
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-01-07 15:05:59 +00:00
Babak K. Shandiz
7e14b0eb60
ci: enable noop linters
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-01-07 14:59:48 +00:00
Kynan Ware
c534a75888
Merge pull request #12429 from cli/kw/add-shell-for-win-tag-creation
CI: Add shell specification for temporary tag creation on Windows
2026-01-06 10:56:22 -07:00
Kynan Ware
1d76eae5aa
Add shell specification for temporary tag creation 2026-01-06 10:37:12 -07:00
Babak K. Shandiz
4da13f849d
Merge pull request #12428 from cli/bk-kw/tag-per-build
ci: tag per build job
2026-01-06 17:15:44 +00:00
Babak K. Shandiz
f47a230eda
ci: shorten run block
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-01-06 17:04:02 +00:00
Babak K. Shandiz
d02341d5a3
ci: improve step name
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-01-06 17:02:54 +00:00
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
dependabot[bot]
aba49aab39
chore(deps): bump actions/upload-artifact from 5 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 14:03:27 +00:00
dependabot[bot]
58534228a9
chore(deps): bump actions/download-artifact from 6 to 7
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 14:03:19 +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