Andy Feller
c487c438f2
Merge pull request #11264 from cli/dependabot/go_modules/golang.org/x/sync-0.16.0
...
chore(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0
2025-07-14 09:28:47 -04:00
Andy Feller
daa307e5fa
Merge branch 'trunk' into dependabot/go_modules/golang.org/x/sync-0.16.0
2025-07-14 09:01:33 -04:00
Andy Feller
4007da9e27
Merge pull request #11293 from cli/andyfeller/exclude-3rd-party-from-golangcilint
...
Exclude `third-party` source from golangci-lint
2025-07-14 08:52:33 -04:00
Andy Feller
29a94ab9b1
Reformat non-documentation hostnames
...
Outside of the hostnames previously fixed, I talked with @williammartin about what to do with the remaining references and the concern about the mixed format.
One suggestion for the error / test use case was to remove the extraneous text all together.
2025-07-14 08:43:15 -04:00
Andy Feller
313d20ba83
Ensure hostnames are visible in CLI website
...
This commit changes <github.com> and <ghe.com> references to `github.com` and `ghe.com` so they are visible on the GitHub CLI marketing website.
GitHub Pages will render URLs with a protocol as clickable links, however hostnames are treated as HTML elements and not rendered.
2025-07-14 08:33:20 -04:00
Andy Feller
17f4273a74
Exclude third-party source from golangci-lint
2025-07-14 07:30:15 -04:00
Kynan Ware
6049cce249
Merge pull request #11278 from cli/kw/filter-third-party-from-codeql-analysis
...
Filter the `third-party/` folder out of CodeQL results
2025-07-12 09:57:28 -06:00
Kynan Ware
030bf8a68f
Improve CodeQL workflow with SARIF filtering
...
Adds SARIF filtering for Go analysis to exclude third-party code from results and updates the workflow to upload filtered SARIF files. This enhances the accuracy of security reports by ignoring irrelevant files.
2025-07-11 13:39:20 -06:00
Andy Feller
fd1c31de59
Fix gh pr create tests from metadata change
...
These are the minimum fixes necessary to repair `gh pr create` tests after refactoring the underlying metadata resolution logic.
2025-07-11 15:32:17 -04:00
Josh Soref
4687f3312d
Improve api --preview docs
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2025-07-11 12:35:10 -04:00
Andy Feller
554fe0f51f
Fix gh issue create tests, copilot web assign
...
This commit is primarily focused on fixing the existing `gh issue create` tests with the changes to the underlying queries retrieving the data for resolving metadata.
Additionally, a new test case for `gh issue create --web --assignee @copilot` was added to mirror existing tests. While exercising this capability, I found out the web UI apparently wants `copilot` instead of the `copilot-swe-agent` login, so changes to address that were a part of this commit.
2025-07-11 12:19:36 -04:00
Andy Feller
59196a4ce2
Update third-party license reports
2025-07-11 10:43:09 -04:00
dependabot[bot]
f7576f02a5
chore(deps): bump golang.org/x/crypto from 0.39.0 to 0.40.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/crypto/compare/v0.39.0...v0.40.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.40.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 14:21:23 +00:00
Andy Feller
a8053d19a9
Resolve issue and PR metadata consistently
...
This commit refactors how `gh issue create` and `gh pr create` retrieve information needed to resolve metadata to be more in line with the approach used in `gh issue edit` and `gh pr edit`.
Previously, both commands used `prshared.fillMetadata(...)` function to retrieve assignees, reviewers, labels, and teams outside of `api.RepoMetadata(..)`. Now, these commands will consistently use the same logic and data for resolving metadata.
2025-07-11 10:21:17 -04:00
William Martin
64191577e4
Merge pull request #11266 from cli/dependabot/go_modules/golang.org/x/term-0.33.0
...
chore(deps): bump golang.org/x/term from 0.32.0 to 0.33.0
2025-07-11 11:41:51 +02:00
William Martin
fee5f611d2
Fixed licenses for bump golang.org/x/term from 0.32.0 to 0.33.0
2025-07-11 11:18:48 +02:00
dependabot[bot]
a21d32fe16
chore(deps): bump golang.org/x/term from 0.32.0 to 0.33.0
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/term/compare/v0.32.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-version: 0.33.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 11:18:48 +02:00
Andy Feller
921205efee
Merge pull request #11263 from cli/dependabot/go_modules/github.com/sigstore/protobuf-specs-0.5.0
...
chore(deps): bump github.com/sigstore/protobuf-specs from 0.4.3 to 0.5.0
2025-07-10 15:57:38 -04:00
Brian DeHamer
c335c5e25f
include immutable field in release view
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2025-07-10 11:46:09 -07:00
Babak K. Shandiz
d3c4297070
Merge pull request #11268 from cli/babakks/automate-stale-issue-closing
...
Automate closing of stale issues
2025-07-10 18:09:30 +01:00
William Martin
1d0f8963e4
Fixed licenses for bump github.com/sigstore/protobuf-specs from 0.4.3 to 0.5.0
2025-07-10 18:43:36 +02:00
William Martin
d63f6423f9
Fixed licenses for bump golang.org/x/sync from 0.15.0 to 0.16.0
2025-07-10 18:41:49 +02:00
William Martin
437a59e10f
Fixed licenses for bump golang.org/x/text from 0.26.0 to 0.27.0
2025-07-10 18:40:06 +02:00
Babak K. Shandiz
b97a1a0113
ci: quote map entry value
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-10 17:00:38 +01:00
Babak K. Shandiz
ebba64f1f5
ci: automate closing stale issues
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-10 16:53:02 +01:00
dependabot[bot]
b133506f84
chore(deps): bump github.com/sigstore/protobuf-specs from 0.4.3 to 0.5.0
...
Bumps [github.com/sigstore/protobuf-specs](https://github.com/sigstore/protobuf-specs ) from 0.4.3 to 0.5.0.
- [Release notes](https://github.com/sigstore/protobuf-specs/releases )
- [Changelog](https://github.com/sigstore/protobuf-specs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sigstore/protobuf-specs/compare/v0.4.3...v0.5.0 )
---
updated-dependencies:
- dependency-name: github.com/sigstore/protobuf-specs
dependency-version: 0.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 15:15:16 +00:00
dependabot[bot]
9528b54e4a
chore(deps): bump golang.org/x/text from 0.26.0 to 0.27.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.27.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 15:15:02 +00:00
dependabot[bot]
049768c9e6
chore(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/sync/compare/v0.15.0...v0.16.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-version: 0.16.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 14:13:13 +00:00
Sam Coe
f87451ff56
Simplify path qualifier building logic
2025-07-10 12:33:08 +02:00
Sam Coe
40b2c9f10c
Merge branch 'trunk' into fix-web-code-search-filename-extension-flags
2025-07-10 11:33:31 +02:00
William Martin
fce4f33317
Merge pull request #11255 from cli/bump-go-1.24.5
...
Bump Go to 1.24.5
2025-07-10 08:11:17 +02:00
ejahnGithub
d068696c4d
add tenancy aware for san matcher
2025-07-09 15:55:41 -04:00
Kynan Ware
4d2abc085b
Merge pull request #11246 from kurahaupo/patch-1
...
Minor (1-word) documentation typo in generated ~/.config/gh/config.yml
2025-07-09 11:11:27 -06:00
William Martin
330d188d53
Merge pull request #11259 from cli/wm/ensure-go-directive-is-always-0
...
Ensure go directive is always .0 version in bump
2025-07-09 17:59:18 +02:00
cli automation
228fbe31dc
Bump Go to 1.24.5
2025-07-09 17:58:34 +02:00
William Martin
268b11efc9
Ensure go directive is always .0 version
...
This is because go mod tidy will always add the final minor version so
we might as well handle it in the script ahead of time.
2025-07-09 17:12:11 +02:00
Andy Feller
0e27e84084
Merge pull request #11257 from cli/andyfeller/fix-goreleaser-windows-rsyso
...
Ensure GoReleaser does not break on Mac OS and Linux when skipping Windows `.rsyso` generation script
2025-07-09 10:16:18 -04:00
Andy Feller
c82f02b5bc
Quote Windows rsyso script global hook
2025-07-09 08:57:08 -04:00
Andy Feller
49821b20f9
Add non-TTY issue create copilot test, todos
2025-07-08 15:19:09 -04:00
Kynan Ware
c93136b5f0
Merge pull request #11234 from cli/babakks/pr-merge-handle-404
...
Handle `HTTP 404` when deleting remote branch in `pr merge`
2025-07-08 07:02:11 -06:00
Martin Kealey
e2b7ef4e26
Typo in generated ~/.config/gh/config.yml
2025-07-08 11:21:31 +10:00
Andy Feller
28c3424fde
Merge pull request #11244 from cli/babakks/fix-query-mutation-during-pagination
...
Fix query object state mutation during pagination
2025-07-07 14:23:16 -04:00
Babak K. Shandiz
e7f8bc89df
test(search): verify URL returns quoted query
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-07 15:45:32 +01:00
Babak K. Shandiz
d395172899
test(search): test pagination with multi-word quoted queries
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-07 15:44:56 +01:00
Babak K. Shandiz
81a1ce601c
fix(search): fix mutating query state fields
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-07 15:42:19 +01:00
Sam Coe
d28a2bdf47
Merge branch 'trunk' into fix-web-code-search-filename-extension-flags
2025-07-07 14:37:03 +02:00
William Martin
df5e6d92a6
Merge pull request #11237 from cli/wm/add-setup-go-to-bump-go
...
Add setup-go to bump-go workflow
2025-07-06 07:17:57 +02:00
William Martin
9f18c7dbe9
Add setup-go to bump-go
...
Ideally, this will ensure that we have an up to date version when we run
go mod tidy.
2025-07-06 07:04:14 +02:00
Andy Feller
d0337704df
Merge pull request #11060 from cli/andyfeller/cli-primer-prototype
...
Reinstating Primer Style CLI content within `cli/cli` repository
2025-07-05 15:02:16 -04:00
Andy Feller
89f15e9d69
Update contribution design link
2025-07-05 14:53:09 -04:00