Commit graph

9995 commits

Author SHA1 Message Date
dependabot[bot]
6710bbc2be
chore(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-14 15:35:09 +00:00
Kynan Ware
245484cc51
Merge pull request #11458 from cli/dependabot/github_actions/actions/download-artifact-5
chore(deps): bump actions/download-artifact from 4 to 5
2025-08-14 09:33:54 -06:00
Kynan Ware
1b083c2005
Merge pull request #11482 from cli/kw/fix-govulncheck-sarif-upload
Update govulncheck workflow to scan source code
2025-08-11 15:18:55 -06:00
Andy Feller
a247a045a3
Merge pull request #11473 from cli/andyfeller/github-cli-934-reorganize-install-docs
Reorganize installation docs
2025-08-11 17:00:57 -04:00
Andy Feller
5b9324bb46 PR feedback from @bagtoad 2025-08-11 16:50:12 -04:00
Kynan Ware
3f55855e8b Update govulncheck workflow to scan source code
Changed govulncheck to run on all source files (./...) instead of the built binary. This fixes uploading to GitHub Code Scanning as the location data will be valid, so it will get accepted.
2025-08-08 16:10:22 -06:00
Andy Feller
2faba515d8
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-08 14:59:35 -04:00
Andy Feller
19410112c4
Update docs/install_windows.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-08 14:58:50 -04:00
Eugene
dd26fba80c
Merge pull request #11451 from cli/eugene/fetch-ref-handle-ReleaseNotFound
fix error for ErrReleaseNotFound when fetching ref
2025-08-08 14:52:08 -04:00
Andy Feller
63462f8e40 Consolidate repo profile, fix headings
After discussing changes with @bagtoad, we talked about consolidating the top-level readme further to reduce the amount of links.

Additionally, the Amazon Linux 2 and openSUSE/SUSE sections weren't contained appropriately in the official sections.
2025-08-08 14:21:25 -04:00
Eugene
82eb05bb24
Merge branch 'trunk' into eugene/fetch-ref-handle-ReleaseNotFound 2025-08-08 13:29:04 -04:00
Kynan Ware
588120bab8
Merge pull request #11454 from cli/kw/triage-updates
Update issue triage guidelines and label usage
2025-08-08 11:04:09 -06:00
Andy Feller
cf8e4acb62
Merge pull request #11319 from cli/dependabot/go_modules/github.com/spf13/pflag-1.0.7
chore(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7
2025-08-08 09:37:53 -04:00
Andy Feller
5811b267bf Update docs on contributing new install methods
Now that our installation docs more clearly delineate official and unofficial installation methods, the maintainers are more open to contributions from communities.
2025-08-07 20:39:04 -04:00
Andy Feller
2b11fff6dc markdown lint fixes 2025-08-07 20:31:17 -04:00
Andy Feller
d992d51b6e Formatting 2025-08-07 20:26:33 -04:00
Andy Feller
60af6bcb49 Initial installation doc refactor
These changes work to improve GitHub CLI users experience by bringing:

- clarity between official and unofficial installation methods
- insight into unofficial installation methods
- consistency across supported operating systems
2025-08-07 20:15:46 -04:00
Andy Feller
3a522e97fc
Merge pull request #11467 from cli/bump-go-1.24.6
Bump Go to 1.24.6
2025-08-07 09:37:33 -04:00
Andy Feller
762d1029fa Pushing empty commit to run CI 2025-08-07 09:24:17 -04:00
cli automation
f8de714c65 Bump Go to 1.24.6 2025-08-07 03:32:50 +00:00
Kynan Ware
cf1e14c339
Merge pull request #11162 from Sukhpreet-s/10480-enhance-gh-search-docs
Adding a note to `gh search` docs to explain the usage of `--` to exclude certain results
2025-08-06 10:52:03 -06:00
Kynan Ware
b5a6913a17
Merge branch 'trunk' into 10480-enhance-gh-search-docs 2025-08-06 10:34:25 -06:00
Kynan Ware
4dde0871bd Fix linter 2025-08-06 10:32:46 -06:00
Kynan Ware
3d9bd69e11
Update pkg/cmd/search/search.go 2025-08-06 10:28:56 -06:00
dependabot[bot]
ce527971d1
chore(deps): bump actions/download-artifact from 4 to 5
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-06 14:35:09 +00:00
Kynan Ware
c69d11c3f4
Update docs/triage.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-05 17:19:05 -06:00
Kynan Ware
7a60981dde
Update docs/triage.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-05 17:18:56 -06:00
Kynan Ware
701b3d59f6 Update issue triage guidelines and label usage
Clarifies the triage process for bugs, enhancements, and docs issues, including the responsibilities of the first responder (FR). Expands and reorganizes label definitions, adds new labels for investigation and team triage, and updates the pull request assignment process to be load balanced. Improves instructions for engaging with issues and managing labels.
2025-08-05 16:59:53 -06:00
ejahnGithub
1beb8252a7 fix error for ErrReleaseNotFound when fetching ref 2025-08-04 20:58:45 -04:00
Andy Feller
cf7c2b9b8c
Merge pull request #11435 from cli/andyfeller/11408-close-suspected-spam-issues
Update spam detection to comment on and close issue
2025-08-04 08:40:41 -04:00
Andy Feller
ccc1b4f8c7
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-04 08:30:16 -04:00
Andy Feller
1e69d8a1a0
Update .github/workflows/scripts/spam-detection/process-issue.sh
Co-authored-by: Babak K. Shandiz <babakks@github.com>
2025-08-04 08:30:04 -04:00
Sukh
6e400eb4a1 docs(search): move search syntax note to gh search --help 2025-08-02 03:01:40 -04:00
Andy Feller
60fdb7ec2b Update spam detection to comment on and close issue
Fixes #11408

These changes enhance the GitHub CLI spam detection logic to automatically comment on and close suspected spam based on the past weeks of usage.

Additionally, there were a few minor enhancements to the script, allowing it to be executed from anywhere rather than the root of the local repository.
2025-08-01 16:50:55 -04:00
Andy Feller
24f502ba1f
Merge pull request #11370 from cli/andyfeller/11270-improve-dependabot-pr-thirdparty-checks
Regenerate third-party licenses on trunk pushes
2025-08-01 16:05:02 -04:00
Andy Feller
8037c61827 Update permissions and events for workflow
This commit makes a few notable changes:

1. Use the GitHub Actions automatic token for committing changes
2. Include workflow file in paths to trigger workflow
3. Checkout the default branch explicitly
2025-08-01 15:36:55 -04:00
Babak K. Shandiz
68887865c1
Merge pull request #11423 from cli/babakks/fix-help-wanted-label-regexp
Fix `help wanted` label regexp in CI automation
2025-07-31 16:23:04 +01:00
Babak K. Shandiz
be67a350b8
ci: use help wanted label link in comment
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-31 15:42:30 +01:00
Babak K. Shandiz
f1996cd571
ci: anchor regexp for help wanted label
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-31 15:42:27 +01:00
Babak K. Shandiz
3d5675f5f7
Improve spam detection evals (#11419)
* ci: improve spam detection evals

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* ci: make test case names consistent

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* ci: remove ill-indented/redundant test case

Signed-off-by: Babak K. Shandiz <babakks@github.com>

---------

Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-31 15:24:08 +01:00
Andy Feller
a2e23a2169
Merge pull request #11407 from cli/andyfeller/11403-pr-team-reviewers
Include org teams for PR reviewers
2025-07-30 17:05:27 -04:00
Andy Feller
bbc3d02cb3 Refactor tab completion test
This commit moves the `gh pr create` tab completion test closer to the logic rather than the commands that use it.

This should ensure that any command or flag that lists reviewers will present teams and users as expected.
2025-07-30 09:25:33 -04:00
Andy Feller
c9bc185209 Test gh pr create --reviewer tab completion 2025-07-30 09:16:44 -04:00
Andy Feller
8f20f0ab53 Include org teams for PR reviewers
This commit enhances the following scenarios to include organization teams as pull request reviewers:

1. Interactive `gh pr create` during additional metadata
2. Tab completing `gh pr create --reviewer`
3. Tab completing `gh pr edit --add-reviewer`
4. Tab completing `gh pr edit --remove-reviewer`

Additionally, a new `gh pr create` test case for ensuring that teams show up within interactive prompts has been added.
2025-07-29 18:19:22 -04:00
Andy Feller
7d70980d83
Merge pull request #11398 from cli/babakks/update-eval-script-docs
Delete obsolete comment about `gh-models` not respecting API rate-limit
2025-07-28 07:47:57 -04:00
Babak K. Shandiz
6cce077a83
docs(ci): delete obsolete comment
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-28 11:38:50 +01:00
Sukh
73f6acc709 docs(help): rename search-syntax help topic 2025-07-25 19:56:39 -04:00
Sukh
dd0a0b3045 docs(search): add reference to gh help search 2025-07-25 19:55:23 -04:00
Kynan Ware
254119e498 Add help topic for search syntax in gh commands
Introduces a new help topic explaining how to use exclusion qualifiers in GitHub search syntax with gh commands, including platform-specific instructions for Unix-like systems and PowerShell. Provides links to relevant documentation for further reference.

Co-Authored-By: Sid <41968447+sukhpreet-s@users.noreply.github.com>
2025-07-25 17:23:45 -06:00
Sukh
45876eddc2 docs(search): add note for exclusion search syntax 2025-07-25 17:03:33 -04:00