Kynan Ware
3fec2e5f7b
Merge pull request #12811 from tksohishi/issue-close-duplicate-of
...
Add `--duplicate-of` flag and duplicate reason to issue close
2026-03-03 20:42:05 -07:00
Kynan Ware
d46ca24a97
Merge pull request #11714 from scarf005/build/customize-prefix
...
build: customizable install `prefix`
2026-03-03 20:17:36 -07:00
Kynan Ware
85ae53e702
Merge branch 'trunk' into build/customize-prefix
2026-03-03 20:08:56 -07:00
Takeshi
b9c8d8e023
Merge branch 'trunk' into issue-close-duplicate-of
2026-03-03 22:03:25 -05:00
Takeshi
2265820853
Combine issue feature detection into a single GraphQL query
...
Merge the Issue_fields and IssueClosedStateReason_enumValues
introspection queries into one call to avoid an extra API round-trip
on GHES.
2026-03-03 21:51:18 -05:00
Kynan Ware
d6d0cb741c
Merge pull request #11486 from masonmcelvain/browse-blame
...
feat(browse): add blame flag
2026-03-03 19:17:35 -07:00
Mason McElvain
74ff94c3e4
feat(browse): add blame flag
2026-03-03 19:03:40 -07:00
Kynan Ware
4ea9076d81
Merge pull request #12651 from gunadhya/fix-repeating-cmd-gh-issue-develop
...
`issue develop`: prevent .git/config corruption on repeated `--name` invocation
2026-03-03 18:55:43 -07:00
Kynan Ware
39874b7cf4
Merge pull request #12657 from yuvrajangadsingh/feature/pr-files-status
...
feat(pr): add changeType field to files JSON output
2026-03-03 16:04:00 -07:00
Kynan Ware
6e979c6b32
Merge pull request #12686 from 4RH1T3CT0R7/add-no-upstream-flag
...
Add --no-upstream flag to repo clone
2026-03-03 16:01:05 -07:00
Kynan Ware
6045a593a3
Reword --no-upstream help doc
2026-03-03 15:51:27 -07:00
Kynan Ware
d983ae0469
Merge pull request #12623 from LouisLau-art/fix/issue-list-pr-search-qualifier
...
fix(issue list): reject pull request-only search qualifiers
2026-03-03 14:52:35 -07:00
Babak K. Shandiz
7a590331b5
Merge pull request #12774 from cli/babakks/isolate-generated-licenses
...
fix(licenses): isolate generated licenses per platform (os/arch)
2026-03-03 12:12:33 +00:00
Louis Shawn
b601b307a4
test(issue list): cover additional PR search qualifier variants
2026-03-03 10:13:57 +08:00
Kynan Ware
60318613d8
Merge pull request #12720 from cli/kw/fix-invalid-ansi
...
Fix invalid ANSI SGR escape code in JSON and diff colorization
2026-03-02 15:12:15 -07:00
Kynan Ware
ad41bb967d
Merge pull request #12807 from maxbeizer/agent-task-view-json
...
Add --json support to `gh agent-task view`
2026-03-02 13:36:06 -07:00
Kynan Ware
1a5fb34493
Merge pull request #12806 from maxbeizer/agent-task-list-json
...
Add --json support to `gh agent-task list`
2026-03-02 13:35:27 -07:00
Kynan Ware
79796d2dc5
Merge pull request #12787 from ManManavadaria/fix-12726/item-edit-draft-issue-partial-update
...
fix: `gh project item-edit` error when editing Draft Issue with only one (title/body) flag
2026-03-02 12:19:53 -07:00
Kynan Ware
e725e38370
Merge pull request #12596 from elijahthis/fix/clarify-scope-error
...
fix: clarify scope error while creating issues for projects
2026-03-02 11:12:35 -07:00
Kynan Ware
1957a022b6
Merge pull request #12652 from VishnuVV27/fix-issue-view-comments-redundancy
...
Fix redundant API call in gh issue view --comments (#12606 )
2026-03-02 10:58:41 -07:00
Louis Shawn
5194256928
fix(issue list): reject pull request-only search qualifiers
2026-03-02 10:50:15 -07:00
Kynan Ware
628dea6e52
Merge pull request #12375 from majiayu000/2722-fix-fork-remote-flag
...
fix: error when --remote flag used with repo argument
2026-03-02 10:34:02 -07:00
Kynan Ware
1c36686a61
Merge branch 'trunk' into 2722-fix-fork-remote-flag
2026-03-02 10:22:27 -07:00
Kynan Ware
0f5355e8b4
Merge pull request #12781 from itchyny/api-compile-json-content
...
Use pre-compiled regexp for matching Content-Type
2026-03-02 10:16:37 -07:00
Kynan Ware
98e970a6d6
Merge pull request #12615 from cli/dependabot/go_modules/github.com/gabriel-vasile/mimetype-1.4.13
...
chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.11 to 1.4.13
2026-03-02 09:37:31 -07:00
Kynan Ware
bb1c37d6ba
Merge pull request #12759 from cli/dependabot/go_modules/google.golang.org/grpc-1.79.1
...
chore(deps): bump google.golang.org/grpc from 1.78.0 to 1.79.1
2026-03-02 09:36:02 -07:00
Kynan Ware
e3ac074968
Merge pull request #12760 from cli/dependabot/github_actions/goreleaser/goreleaser-action-7.0.0
...
chore(deps): bump goreleaser/goreleaser-action from 6.4.0 to 7.0.0
2026-03-02 09:27:01 -07:00
Kynan Ware
453d89c2d4
Merge pull request #12795 from cli/dependabot/github_actions/actions/attest-build-provenance-4.1.0
...
chore(deps): bump actions/attest-build-provenance from 3.2.0 to 4.1.0
2026-03-02 09:26:34 -07:00
Kynan Ware
c2ccf29aa4
Merge pull request #12796 from cli/dependabot/github_actions/actions/download-artifact-8
...
chore(deps): bump actions/download-artifact from 7 to 8
2026-03-02 09:24:28 -07:00
Kynan Ware
84daf66a0a
Merge pull request #12797 from cli/dependabot/github_actions/actions/upload-artifact-7
...
chore(deps): bump actions/upload-artifact from 6 to 7
2026-03-02 09:23:03 -07:00
dependabot[bot]
b1df464f52
chore(deps): bump goreleaser/goreleaser-action from 6.4.0 to 7.0.0
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 6.4.0 to 7.0.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](e435ccd777...ec59f474b9 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:03:04 +00:00
dependabot[bot]
0f53ed545c
chore(deps): bump github.com/gabriel-vasile/mimetype
...
Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype ) from 1.4.11 to 1.4.13.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases )
- [Commits](https://github.com/gabriel-vasile/mimetype/compare/v1.4.11...v1.4.13 )
---
updated-dependencies:
- dependency-name: github.com/gabriel-vasile/mimetype
dependency-version: 1.4.13
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:02:45 +00:00
dependabot[bot]
8c72314f6c
chore(deps): bump google.golang.org/grpc from 1.78.0 to 1.79.1
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.78.0 to 1.79.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.78.0...v1.79.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:02:39 +00:00
dependabot[bot]
ab399f09e1
chore(deps): bump actions/attest-build-provenance from 3.2.0 to 4.1.0
...
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance ) from 3.2.0 to 4.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](96278af6ca...a2bbfa2537 )
---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
dependency-version: 4.1.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:02:34 +00:00
dependabot[bot]
6842f5bdcb
chore(deps): bump actions/download-artifact from 7 to 8
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:02:32 +00:00
dependabot[bot]
cc15e7e16d
chore(deps): bump actions/upload-artifact from 6 to 7
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:02:25 +00:00
Babak K. Shandiz
f521007494
Merge pull request #12821 from devm33/devm33/gh-copilot-env
...
Set COPILOT_GH env var when launching Copilot CLI
2026-03-02 15:34:19 +00:00
Devraj Mehta
351df5b9d1
Set COPILOT_GH env var when launching Copilot CLI
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-02 10:25:47 -05:00
gunadhya
ee8014a4d9
Simplify progress indicators in issue develop
2026-03-02 17:01:57 +05:30
Max Beizer
d908af3484
Emit null for zero createdAt/updatedAt values
...
Consistent with completedAt handling. Addresses Copilot review feedback
from companion PR #12807 .
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 10:18:37 -06:00
Max Beizer
0d05a8acca
Address Copilot review feedback
...
- Prioritize --json output over --log/--follow so JSON is not silently ignored
- Emit null for zero createdAt/updatedAt values, consistent with completedAt
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 10:18:21 -06:00
Max Beizer
ceb8cf2561
Polish --json support for agent-task view
...
- Rename 'status' field to 'state' for consistency with struct and UI
- Add missing JSON fields: completedAt, user, pullRequestTitle, pullRequestState
- Add test for nil PullRequest with --json
- Expand existing JSON test to cover new fields
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 09:09:08 -06:00
Max Beizer
c5c107aa8b
Polish --json support for agent-task list
...
- Fix empty results returning error instead of [] when --json is used
- Rename 'status' field to 'state' for consistency with struct and UI
- Add missing JSON fields: completedAt, user, pullRequestTitle, pullRequestState
- Add test for empty results with --json
- Add test for nil PullRequest with --json
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 09:08:18 -06:00
Max Beizer
250d5a850a
Fix gofmt alignment in view_test.go
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 08:57:53 -06:00
yuvrajangadsingh
de61b2b65d
feat(pr): add changeType field to files JSON output
...
Add the changeType field from the PullRequestChangedFile GraphQL type
to the PullRequestFile struct. This exposes the file status (added,
modified, deleted, renamed, copied, changed) in gh pr list --json files
and gh pr view --json files output.
Closes #11385
2026-03-01 15:35:05 +05:30
Takeshi
01c83acfe8
Add --duplicate-of flag and duplicate reason to gh issue close
...
Support closing issues as duplicates via --reason duplicate and
--duplicate-of <issue> flags. The --duplicate-of flag accepts an issue
number or URL, validates it references a different issue (not a PR),
and passes the duplicate issue ID to the closeIssue mutation.
Feature detection checks whether the GHES instance supports the
DUPLICATE enum value in IssueClosedStateReason before using it.
2026-02-28 20:10:07 -05:00
Kynan Ware
097bad6f73
Merge pull request #12783 from srt32/fix-assignee-databaseid
...
Add databaseId to assignees GraphQL fragment
2026-02-28 12:22:33 -07:00
Max Beizer
7241b42ecf
Add --json support to gh agent-task view
...
Add --json, --jq, and --template flags to `gh agent-task view`,
consistent with the pattern used by `gh pr view --json`,
`gh issue view --json`, etc.
This reuses the same ExportData interface and SessionFields defined
for list, applying them to the single-session view output.
Closes https://github.com/cli/cli/issues/12805 (partial)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-28 09:22:28 -06:00
Max Beizer
0d9e6af3da
Add --json support to gh agent-task list
...
Add --json, --jq, and --template flags to `gh agent-task list`,
consistent with the pattern used by `gh pr list --json`,
`gh issue list --json`, etc.
This implements the ExportData interface on capi.Session and defines
SessionFields for the available JSON fields:
id, name, status, repository, createdAt, updatedAt,
pullRequestNumber, pullRequestUrl.
Closes https://github.com/cli/cli/issues/12805 (partial)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-28 09:20:13 -06:00
ManManavadaria
d21544c085
fix(project/item-edit): preserve title/body when editing draft issue with partial flags
2026-02-26 16:23:37 +05:30