Commit graph

10669 commits

Author SHA1 Message Date
Babak K. Shandiz
bc5a44a4ae
fix(copilot): replace windows with win32 to match asset names
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-01-19 17:57:05 +00:00
Babak K. Shandiz
10b4a1f427
fix(root): avoid command name collision when registering extensions
Signed-off-by: Babak K. Shandiz <babakks@github.com>

Co-authored-by: Kynan Ware <bagtoad@github.com>
Co-authored-by: Devraj Mehta <devm33@github.com>
2026-01-19 10:38:39 +00:00
Babak K. Shandiz
08a4413614
chore(root): register copilot command
Signed-off-by: Babak K. Shandiz <babakks@github.com>

Co-authored-by: Kynan Ware <bagtoad@github.com>
Co-authored-by: Devraj Mehta <devm33@github.com>
2026-01-19 10:38:35 +00:00
Babak K. Shandiz
39880650d5
feat: add copilot command
Signed-off-by: Babak K. Shandiz <babakks@github.com>

Co-authored-by: Kynan Ware <bagtoad@github.com>
Co-authored-by: Devraj Mehta <devm33@github.com>
2026-01-19 10:38:29 +00:00
Babak K. Shandiz
0f32f2ac46
refactor(run download): extract zip extraction func into a separate package
Signed-off-by: Babak K. Shandiz <babakks@github.com>

Co-authored-by: Kynan Ware <bagtoad@github.com>
Co-authored-by: Devraj Mehta <devm33@github.com>
2026-01-19 10:38:21 +00:00
Babak K. Shandiz
559e729f9a
Merge pull request #12377 from majiayu000/fix-9149-set-default-remote-name
feat: allow git remote names in gh repo set-default
2026-01-14 11:00:32 +00:00
lif
1d506f5331
fix: simplify set-default remote parsing 2026-01-14 18:35:04 +08:00
lif
8de78e6410
Merge branch 'trunk' into fix-9149-set-default-remote-name 2026-01-10 11:08:42 +08:00
majiayu000
5f305e81c2
Handle repo argument before remote name 2026-01-10 00:54:51 +08:00
Babak K. Shandiz
722acf080d
Merge pull request #12452 from cli/dependabot/go_modules/github.com/yuin/goldmark-1.7.16
chore(deps): bump github.com/yuin/goldmark from 1.7.13 to 1.7.16
2026-01-09 14:55:48 +00:00
Babak K. Shandiz
ba0c2ad7dd
chore: update licenses
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-01-09 14:47:55 +00:00
dependabot[bot]
6b2f627640
chore(deps): bump github.com/yuin/goldmark from 1.7.13 to 1.7.16
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.7.13 to 1.7.16.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.13...v1.7.16)

---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
  dependency-version: 1.7.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-08 14:04:52 +00:00
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
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