Kynan Ware
07138b6edf
Remove /slug team reviewer shorthand normalization
...
Team reviewers must be provided as fully qualified org/teamname.
Remove the /slug shorthand that auto-prefixed the repo owner,
as this format is not supported.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-05 10:58:08 -07:00
Kynan Ware
37776cf2e6
Add TODO requestReviewsByLoginCleanup on static reviewer MultiSelect
...
Mark the legacy static MultiSelect reviewer path for cleanup once
GHES supports requestReviewsByLogin and search-based selection can
be used universally.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-05 10:57:45 -07:00
Kynan Ware
dd7e44ee0a
Check state.ActorReviewers in MetadataSurvey reviewer search gate
...
Gate search-based reviewer selection on both state.ActorReviewers
and the search function being available, consistent with the
ActorAssignees pattern used for assignees.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-05 10:57:28 -07:00
Kynan Ware
8f62e8116d
Label Copilot detection in SuggestedReviewerActorsForRepo as a hack
...
Mark the piggyback-on-open-PR technique for detecting Copilot
reviewer availability as a HACK, since there is no repo-level API
to check Copilot eligibility without a PR context.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-05 10:56:47 -07:00
Kynan Ware
6341588f90
Add TODO requestReviewsByLoginCleanup in CreatePullRequest
...
Add a cleanup TODO comment above the GHES feature detection branch
in CreatePullRequest so we can track removing the ID-based reviewer
request path once GHES supports requestReviewsByLogin.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-05 10:56:31 -07:00
Kynan Ware
ceb904413d
Clarify ReviewerCandidate relationship to AssignableActor
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-13 13:45:00 -07:00
Kynan Ware
72a6e9f3a7
Move PR review queries from queries_pr.go to queries_pr_review.go
...
Consolidate all review-related types, methods, and functions into
queries_pr_review.go for better code organization. The file is now
ordered by logical sections: review data types, review status, review
requests, reviewer candidates, API operations, and helpers.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-13 13:40:59 -07:00
Kynan Ware
1d730951d2
Use org/slug format in test fixtures and remove /slug normalization
2026-02-11 14:51:12 -07:00
Kynan Ware
1cb776384e
Normalize /slug team shorthand to org/slug and fix docs
2026-02-11 14:33:13 -07:00
Kynan Ware
a8655bcda9
Include bot logins in login-based reviewer mutation guard
2026-02-11 13:55:57 -07:00
Kynan Ware
e361335e5c
Skip reviewer metadata fetch when using search-based selection
2026-02-11 13:18:39 -07:00
Kynan Ware
38661646ee
Update test assertions to expect org/slug team format
2026-02-11 13:18:07 -07:00
Kynan Ware
ad64d10bf4
Wire bot reviewer logins through CreatePullRequest
2026-02-11 13:16:23 -07:00
Kynan Ware
1209b24e69
Partition bot reviewers separately for RequestReviewsByLogin
2026-02-11 13:16:03 -07:00
Kynan Ware
db167d3116
Preserve org/slug format for team reviewer slugs
2026-02-11 13:15:14 -07:00
Kynan Ware
cf08f4d51e
Apply suggestion from @BagToad
2026-02-10 11:08:12 -07:00
Kynan Ware
7373de3e70
Remove redundant comment
2026-02-10 10:58:23 -07:00
Kynan Ware
dd9ab7152b
Don't swallow error from FD
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-10 10:54:03 -07:00
Kynan Ware
620261fea4
Remove redundant comments
2026-02-10 10:53:30 -07:00
Kynan Ware
c187b882a0
Merge branch 'trunk' into kw/pr-create-multi-select-with-search-ccr
2026-02-10 10:37:41 -07:00
Babak K. Shandiz
4e65637471
Merge pull request #12631 from cli/kw/bump-go-is-workflow-dispatchable
...
Add manual dispatch to bump-go workflow
2026-02-09 12:48:34 +00:00
Kynan Ware
a2b8b687c0
Merge pull request #12629 from cli/dependabot/go_modules/golang.org/x/crypto-0.47.0
...
chore(deps): bump golang.org/x/crypto from 0.46.0 to 0.47.0
2026-02-06 12:31:17 -07:00
Kynan Ware
6d9cac60c5
Merge branch 'trunk' into kw/pr-create-multi-select-with-search-ccr
2026-02-06 12:31:01 -07:00
Kynan Ware
cde6edcba2
update third party licenses
2026-02-06 12:23:17 -07:00
dependabot[bot]
7fb3e1ad80
chore(deps): bump golang.org/x/crypto from 0.46.0 to 0.47.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.46.0 to 0.47.0.
- [Commits](https://github.com/golang/crypto/compare/v0.46.0...v0.47.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.47.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 18:54:51 +00:00
Kynan Ware
2ad10c1c93
Merge pull request #12630 from cli/kw/bump-go-1.25.7
...
Bump go to 1.25.7
2026-02-06 11:53:28 -07:00
Kynan Ware
35828f44cd
Add manual dispatch to bump-go workflow
...
Enable manual runs of the Bump Go workflow by adding the workflow_dispatch trigger alongside the existing scheduled cron. This allows maintainers to trigger the bump process on-demand while keeping the daily 3 AM UTC schedule intact.
2026-02-06 11:52:24 -07:00
Kynan Ware
18c67c9ccc
bump go to 1.25.7
2026-02-06 11:44:34 -07:00
Kynan Ware
0f04a4815f
Merge pull request #12616 from cli/dependabot/go_modules/golang.org/x/term-0.39.0
...
chore(deps): bump golang.org/x/term from 0.38.0 to 0.39.0
2026-02-06 11:40:15 -07:00
Kynan Ware
0a2841fb9d
update third party licenses
2026-02-06 11:30:46 -07:00
dependabot[bot]
4de27314a0
chore(deps): bump golang.org/x/term from 0.38.0 to 0.39.0
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/term/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-version: 0.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 18:28:20 +00:00
Kynan Ware
cc3fd78414
Merge pull request #12468 from cli/dependabot/go_modules/golang.org/x/text-0.33.0
...
chore(deps): bump golang.org/x/text from 0.32.0 to 0.33.0
2026-02-06 11:27:05 -07:00
Kynan Ware
ad305b7217
update third party licenses
2026-02-06 11:19:27 -07:00
dependabot[bot]
28ed4bdbf0
chore(deps): bump golang.org/x/text from 0.32.0 to 0.33.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.32.0 to 0.33.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.32.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.33.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 18:17:42 +00:00
Kynan Ware
84569636b3
Merge branch 'trunk' into kw/pr-create-multi-select-with-search-ccr
2026-02-06 11:06:25 -07:00
Kynan Ware
fa43288852
Merge pull request #12567 from cli/kw/multi-select-with-search-and-ccr
...
`gh pr edit`: Add support for Copilot as reviewer with search capability, performance and accessibility improvements
2026-02-06 10:51:36 -07:00
Kynan Ware
78aaa87718
Add toGitHubV4Strings helper to reduce code duplication
2026-02-05 14:01:21 -07:00
Kynan Ware
04bf86a72c
Address PR review comments
...
Address PR review comments: code consistency and DRY improvements
- Add botTypeName const for consistency with teamTypeName
- Create extractTeamSlugs helper using strings.SplitN to simplify
team slug extraction logic
- Replace duplicate code in AddPullRequestReviews and
RemovePullRequestReviews with extractTeamSlugs helper
- Fix ClientMutationId naming with explicit graphql tag for
consistency with other mutations in the codebase
2026-02-05 14:01:21 -07:00
Kynan Ware
c0febc1ac8
Add toGitHubV4Strings helper to reduce code duplication
2026-02-04 15:18:49 -07:00
Kynan Ware
ebf932a043
Address PR review comments
...
Address PR review comments: code consistency and DRY improvements
- Add botTypeName const for consistency with teamTypeName
- Create extractTeamSlugs helper using strings.SplitN to simplify
team slug extraction logic
- Replace duplicate code in AddPullRequestReviews and
RemovePullRequestReviews with extractTeamSlugs helper
- Fix ClientMutationId naming with explicit graphql tag for
consistency with other mutations in the codebase
2026-02-04 15:15:29 -07:00
Kynan Ware
9904f7d1b9
gh pr create: CCR and multiselectwithsearch
2026-02-04 14:56:05 -07:00
Kynan Ware
af4dad088a
Merge pull request #12469 from cli/dependabot/go_modules/github.com/gdamore/tcell/v2-2.13.7
...
chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.4 to 2.13.7
2026-02-03 11:49:46 -07:00
Kynan Ware
bc689e358a
update third party licenses
2026-02-03 11:39:31 -07:00
dependabot[bot]
915750902c
chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.4 to 2.13.7
...
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell ) from 2.13.4 to 2.13.7.
- [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.4...v2.13.7 )
---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
dependency-version: 2.13.7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-03 18:35:17 +00:00
Kynan Ware
5378856954
Merge pull request #12555 from cli/dependabot/go_modules/github.com/theupdateframework/go-tuf/v2-2.4.1
...
chore(deps): bump github.com/theupdateframework/go-tuf/v2 from 2.3.1 to 2.4.1
2026-02-03 11:31:45 -07:00
Kynan Ware
188dfde7aa
Update third party licenses
2026-02-03 18:23:45 +00:00
dependabot[bot]
291637aabf
chore(deps): bump github.com/theupdateframework/go-tuf/v2
...
Bumps [github.com/theupdateframework/go-tuf/v2](https://github.com/theupdateframework/go-tuf ) from 2.3.1 to 2.4.1.
- [Release notes](https://github.com/theupdateframework/go-tuf/releases )
- [Commits](https://github.com/theupdateframework/go-tuf/compare/v2.3.1...v2.4.1 )
---
updated-dependencies:
- dependency-name: github.com/theupdateframework/go-tuf/v2
dependency-version: 2.4.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-03 18:01:55 +00:00
Kynan Ware
1714ae5407
Merge pull request #12524 from cli/dependabot/go_modules/github.com/sigstore/rekor-1.5.0
...
chore(deps): bump github.com/sigstore/rekor from 1.4.3 to 1.5.0
2026-02-03 10:59:55 -07:00
Kynan Ware
b9a63c8923
Update third-party licenses
2026-02-03 10:50:17 -07:00
Kynan Ware
db19b778ad
Merge pull request #12558 from cli/dependabot/github_actions/actions/attest-build-provenance-3.2.0
...
chore(deps): bump actions/attest-build-provenance from 3.1.0 to 3.2.0
2026-02-03 10:43:42 -07:00