Commit graph

11266 commits

Author SHA1 Message Date
dependabot[bot]
dc5d3927b2
chore(deps): bump golang.org/x/text from 0.36.0 to 0.37.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.36.0...v0.37.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 22:50:45 +00:00
Babak K. Shandiz
b2e6abdea0
Merge pull request #13346 from cli/dependabot/go_modules/google.golang.org/grpc-1.81.0
chore(deps): bump google.golang.org/grpc from 1.80.0 to 1.81.0
2026-05-12 23:49:17 +01:00
dependabot[bot]
6b3421b145
chore(deps): bump google.golang.org/grpc from 1.80.0 to 1.81.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.80.0 to 1.81.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.80.0...v1.81.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.81.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 22:40:29 +00:00
Babak K. Shandiz
eeaa3daf34
Merge pull request #13396 from cli/dependabot/go_modules/golang.org/x/term-0.43.0
chore(deps): bump golang.org/x/term from 0.42.0 to 0.43.0
2026-05-12 23:39:06 +01:00
dependabot[bot]
965f63b31a
chore(deps): bump golang.org/x/term from 0.42.0 to 0.43.0
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.42.0 to 0.43.0.
- [Commits](https://github.com/golang/term/compare/v0.42.0...v0.43.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.43.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 21:46:30 +00:00
Babak K. Shandiz
30d596f4af
Merge pull request #13381 from cli/dependabot/go_modules/golang.org/x/sys-0.44.0
chore(deps): bump golang.org/x/sys from 0.43.0 to 0.44.0
2026-05-12 22:45:09 +01:00
Babak K. Shandiz
2733bfbc5e
Merge pull request #13126 from sassdawe/patch-1
Update installation commands for GitHub CLI
2026-05-12 20:29:23 +01:00
Babak K. Shandiz
fe996d33ac
Merge pull request #13393 from cli/babakks/improve-gh-copilot-error
fix(copilot): hint to run copilot directly when exec fails
2026-05-12 14:14:02 +01:00
copilot-swe-agent[bot]
24c7b25afd
fix(copilot): update test assertion to match updated error message 2026-05-12 13:04:19 +00:00
Babak K. Shandiz
ae7bd54d43
fix(copilot): provide full path to copilot binary on exec error
Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
2026-05-12 12:24:29 +01:00
Babak K. Shandiz
601dd346b0
fix(copilot): hint to run copilot directly when exec fails
When the copilot binary is found in PATH but exec fails (e.g., due to
unusual characters like parentheses in the path on Windows), append a
hint suggesting the user run `copilot` directly without `gh`.

The hint is only shown when the binary was already present on the host,
not when it was freshly downloaded and installed by `gh`.

Closes cli/cli#13106

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-11 14:32:49 +01:00
Babak K. Shandiz
9b505c3fb8
Merge pull request #13383 from cli/kw/triage-fix-ready-for-review
Trigger triage check-requirements on ready_for_review
2026-05-09 08:04:27 +01:00
Kynan Ware
8fb4f3354c Fix triage-pull-requests skipping PRs that open as draft
When a PR is opened as draft and later marked ready for review, the
check-requirements job's if filter excluded the ready_for_review action,
so the screening workflow never ran and unmet-requirements was never
applied. Add ready_for_review to the action filter so screening runs
when a draft PR transitions to requesting review.

Companion fix in desktop/gh-cli-and-desktop-shared-workflows updates the
called workflow's own filters to handle ready_for_review consistently.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-08 11:44:07 -06:00
dependabot[bot]
701492b06b
chore(deps): bump golang.org/x/sys from 0.43.0 to 0.44.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.43.0 to 0.44.0.
- [Commits](https://github.com/golang/sys/compare/v0.43.0...v0.44.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.44.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-08 14:03:46 +00:00
Kynan Ware
7cf93e72f2
Merge pull request #13367 from cli/copilot/bump-go-to-1-26-3
Bump Go toolchain to 1.26.3
2026-05-07 18:05:00 -06:00
copilot-swe-agent[bot]
cdda57e360
Bump Go toolchain to 1.26.3
Agent-Logs-Url: https://github.com/cli/cli/sessions/74d21df5-9f54-4a76-97ee-7b2e2d7bd6be

Co-authored-by: BagToad <47394200+BagToad@users.noreply.github.com>
2026-05-07 21:56:04 +00:00
Babak K. Shandiz
b77d79c4e1
Merge pull request #13365 from cli/wm-fix-skills-acceptance-tests
Fix skills acceptance tests
2026-05-07 22:21:54 +01:00
William Martin
f47e459cf5 Fix skills acceptance tests 2026-05-07 20:47:00 +02:00
William Martin
2297f1f2eb
Merge pull request #13325 from scop/chore/actions-attest
Switch from actions/attest-build-provenance to actions/attest
2026-05-07 20:44:56 +02:00
William Martin
b698aa7462
Merge pull request #13305 from pdostal/fix/poll-tty-echo-mode-in-password-tests
Poll TTY echo mode instead of sleeping in password tests
2026-05-07 20:32:56 +02:00
William Martin
a44721d233 Add explicit build tags to platform-specific echo test files
The Go toolchain infers constraints from _darwin/_linux filename suffixes,
but explicit //go:build tags make the constraint visible without relying
on filename conventions, consistent with modern Go style.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-07 20:20:39 +02:00
Pavel Dostál
9c4184de6f Address review feedback on echo mode polling
- Rename echo_test_{linux,darwin}.go to echo_{linux,darwin}_test.go so
  they are only compiled during tests
- Narrow build tag from !windows to linux || darwin to avoid compile
  failures on other Unix platforms
- Return error from waitForEchoDisabled instead of calling t.Fatal,
  since the function is called from goroutines where FailNow would only
  terminate the calling goroutine
2026-05-07 20:20:39 +02:00
Pavel Dostál
c48bc1a7d1 Poll TTY echo mode instead of sleeping in password tests
Replace the fixed-duration sleep with a polling loop that checks the
actual TTY echo flag before sending password input. This eliminates the
race condition where huh has not yet disabled echo mode, which caused
flaky test failures in slow environments.

Follow-up to #13304.
2026-05-07 20:20:39 +02:00
William Martin
9b457e8aa2
Merge pull request #13328 from cli/dependabot/go_modules/github.com/klauspost/compress-1.18.6
chore(deps): bump github.com/klauspost/compress from 1.18.5 to 1.18.6
2026-05-07 20:09:00 +02:00
William Martin
2bc88628dc
Merge pull request #13363 from cli/wm-accessible-telemetry
Record accessibility feature state in telemetry
2026-05-07 18:48:28 +02:00
William Martin
6176c3eee4
Merge pull request #13362 from cli/wm-copilot-sampling-100
Bump `gh copilot` telemetry sampling to 100%
2026-05-07 18:41:13 +02:00
William Martin
acf2f730c1 Record accessibility state in telemetry
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-07 17:34:09 +02:00
William Martin
1caa3b7475 Bump copilot telemetry sampling to 100%
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-07 17:23:45 +02:00
William Martin
3c162a78ef
Merge pull request #13326 from scop/style/grammar
Grammar fixes
2026-05-06 08:53:54 +02:00
Kynan Ware
7c439196c1
Merge pull request #13068 from 333fred/print-refresh-for-401s
Print `gh auth refresh` for 401 returns
2026-05-05 11:43:37 -06:00
Babak K. Shandiz
50d6008f4d
Merge pull request #13327 from cli/wm/fix-pr-view-number-only-optimization
fix(pr): remove numberFieldOnly optimization that skips API validation
2026-05-02 07:53:33 +01:00
dependabot[bot]
6dc432ec47
chore(deps): bump github.com/klauspost/compress from 1.18.5 to 1.18.6
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.18.5 to 1.18.6.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Commits](https://github.com/klauspost/compress/compare/v1.18.5...v1.18.6)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-version: 1.18.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-01 16:42:15 +00:00
William Martin
8ff70e6e7a Remove numberFieldOnly API shortcut
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-01 17:23:01 +02:00
Ville Skyttä
d8b8655f21 Grammar fixes 2026-05-01 10:22:13 +03:00
Ville Skyttä
4ed7002681 Switch from actions/attest-build-provenance to actions/attest
https://github.com/actions/attest-build-provenance#usage

> As of version 4, actions/attest-build-provenance is simply a wrapper
> on top of actions/attest.
>
> Existing applications may continue to use the attest-build-provenance
> action, but new implementations should use actions/attest instead.
2026-05-01 10:16:14 +03:00
tidy-dev
611b01f6c8
Merge pull request #13312 from cli/enable-pr-screening
Enable extended PR screening for external PRs
2026-04-30 07:59:51 -04:00
tidy-dev
8b89c8b2b2 Enable extended PR screening for external PRs
Opts in to the new PR screening features in the shared triage workflow:
- Instantly closes PRs with zero file changes
- Detects same-author resubmissions of recently closed PRs
- Fast-tracks small, well-described fixes to ready-for-review
- Accelerates closure of large unsolicited PRs (3 days vs 7)

Depends on desktop/gh-cli-and-desktop-shared-workflows#17

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-29 09:43:23 -04:00
William Martin
d762f9e232
Merge pull request #13304 from pdostal/fix/accessible-prompter-password-test-timeout
Fix flaky accessible prompter Password test timeout
2026-04-28 18:47:53 +02:00
William Martin
fae293f8e8
Merge pull request #13303 from pdostal/fix/add-integration-build-tag
Add missing //go:build integration tag to verify_integration_test.go
2026-04-28 18:34:25 +02:00
Pavel Dostál
6d6ea5f371 Fix flaky Password test by increasing echo mode setup timeout
The beforePasswordSendTimeout was set to 100 microseconds, which is
insufficient for huh to disable echo mode on the PTY in slow or
constrained environments (e.g. network-isolated build containers).
Increase to 100 milliseconds to avoid the race condition.
2026-04-28 18:25:51 +02:00
Pavel Dostál
20e4d25147 Add missing //go:build integration tag to verify_integration_test.go
The four tests in this file (TestVerifyIntegration,
TestVerifyIntegrationCustomIssuer, TestVerifyIntegrationReusableWorkflow,
TestVerifyIntegrationReusableWorkflowSignerWorkflow) call
NewLiveSigstoreVerifier which requires network access to Sigstore and
GitHub TUF servers. Unlike the other integration test files in this
package (attestation_integration_test.go, sigstore_integration_test.go,
inspect_integration_test.go), this file was missing the //go:build
integration tag, causing these tests to run during a regular
'go test ./...' and fail in network-isolated build environments.
2026-04-28 18:20:23 +02:00
William Martin
bd4a06aab7
Merge pull request #13297 from cli/dependabot/github_actions/goreleaser/goreleaser-action-7.2.1
chore(deps): bump goreleaser/goreleaser-action from 7.0.0 to 7.2.1
2026-04-28 16:32:29 +02:00
William Martin
6c470f6080
Merge pull request #13281 from maxbeizer/fix/projects-v2-ignorable-error
Add "Resource not accessible" to ProjectsV2IgnorableError
2026-04-28 12:16:54 +02:00
William Martin
697f7f64ee
Merge pull request #13301 from cli/bump-go-1.26.2
Bump Go to 1.26.2
2026-04-28 11:32:21 +02:00
cli automation
06ac7b6e0a Bump Go to 1.26.2 2026-04-28 11:22:34 +02:00
Babak K. Shandiz
e41ec700c1
Merge pull request #13298 from cli/dependabot/go_modules/github.com/mattn/go-isatty-0.0.22
chore(deps): bump github.com/mattn/go-isatty from 0.0.21 to 0.0.22
2026-04-28 08:31:39 +01:00
dependabot[bot]
0e3c4991c7
chore(deps): bump github.com/mattn/go-isatty from 0.0.21 to 0.0.22
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.21 to 0.0.22.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.21...v0.0.22)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
  dependency-version: 0.0.22
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-27 17:27:14 +00:00
dependabot[bot]
ed31e2f6e8
chore(deps): bump goreleaser/goreleaser-action from 7.0.0 to 7.2.1
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 7.0.0 to 7.2.1.
- [Commits](ec59f474b9...1a80836c5c)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-version: 7.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-27 17:26:50 +00:00
Babak K. Shandiz
3c7c88c0e4
Merge pull request #13296 from travellertales/patch-1
Add trust disclaimer to extension help text
2026-04-27 16:17:10 +01:00
travellertales
e40c592e42
Update command.go 2026-04-27 10:19:56 -04:00