Commit graph

6637 commits

Author SHA1 Message Date
David Gardiner
acf7dadaeb Codespaces view command updates 2023-06-07 11:04:17 -07:00
srz_zumix
dfb6d9d5bb
fix: Allow aliases to recognize extended commands (#7523) 2023-06-02 08:20:11 +09:00
ffalor
e4e7bf5c8c
force method to uppercase (#7514)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-06-01 13:54:56 +00:00
Mislav Marohnić
7a814b31c2
api: support array params in GET queries (#7513) 2023-05-31 20:23:31 +02:00
Mislav Marohnić
d66c4c573c
Merge pull request #7515 from cli/fix-flake
Fix flaky test
2023-05-31 10:53:31 +02:00
Sam Coe
e9a0b393c9
Fix flaky test 2023-05-31 11:04:06 +09:00
David Gardiner
06e40dfddb
Merge pull request #7496 from dmgardiner25/add-view-cmd
Add `gh cs view` command
2023-05-30 14:37:34 -07:00
David Gardiner
290b802bf7 Remove unused type 2023-05-30 14:22:12 -07:00
David Gardiner
15e1fa510d Add test 2023-05-30 14:19:15 -07:00
David Gardiner
82650b364b Fix linting error 2023-05-30 12:53:46 -07:00
David Gardiner
5b83d55186 Don't display retention period if 0 days 2023-05-30 12:45:53 -07:00
David Gardiner
3c05c99c83 Address comments 2023-05-30 12:20:23 -07:00
Mislav Marohnić
570a7202c3
Merge pull request #7510 from cli/dependabot/go_modules/github.com/stretchr/testify-1.8.4
build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4
2023-05-30 17:07:20 +02:00
Mislav Marohnić
f072db4319
Merge pull request #7492 from benjlevesque/fix/apply-latin-matching-filter-to-more-fields
fix: apply latin matching filter to more fields
2023-05-30 17:03:57 +02:00
dependabot[bot]
f6bb2e83ef
build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 14:58:16 +00:00
Sam Coe
1c3c402377
Do not generate docs for aliases (#7497) 2023-05-28 00:27:31 +00:00
David Gardiner
f6a5398bf9 Update fields to show 2023-05-26 22:59:28 +00:00
David Gardiner
99cd0af8b4 Check if running in a codespace 2023-05-26 15:41:34 -07:00
David Gardiner
54560c19dd Add gh cs view command 2023-05-26 09:54:58 -07:00
Mislav Marohnić
8741b648a6
Speed up gh start up time (#7487)
The tcell library has an `init()` block where it performs some very expensive
indexing that takes 30-40 ms on my machine. This results in fixed overhead for
every gh invocation, even for commands that don't use tcell at all.

This sets an environment variable that instructs tcell to avoid doing that.
2023-05-26 16:38:13 +02:00
Benjamin Levesque
4aa31b3f0f
fix: apply latin matching filter to more fields 2023-05-26 14:50:20 +02:00
William Martin
b292dc43b2
Merge pull request #7462 from cli/wm/counts-by-state
Use new GQL fields that support CheckRun and StatusContext counts by state
2023-05-25 12:38:01 +02:00
Sam Coe
74ee8cacae
Allow creating of nested aliases (#7457) 2023-05-25 09:46:45 +09:00
Nate Smith
79128a23c8
Merge pull request #7302 from cli/run-prompts
replace prompts in `gh run` commands
2023-05-24 12:52:40 -07:00
vilmibm
3bd1d6770c fix variable name 2023-05-24 12:40:46 -07:00
William Martin
2717dc5758 Add cmd test for pr status with counts by state 2023-05-24 16:00:34 +02:00
William Martin
e2dc66baea Reorder Check and Status States enums variants alphabetically 2023-05-23 17:36:20 +02:00
William Martin
dad5f25748 Use go enums for status and check status graphql enums 2023-05-23 17:22:56 +02:00
William Martin
505c954544 Remove unused emptyIntrospectionFor test helper 2023-05-23 17:13:48 +02:00
William Martin
b73ad06f15 Avoid setting status check rollups when user supplies fields 2023-05-23 16:53:16 +02:00
William Martin
04ecac9a6f Rework state parsing for CheckRuns and StatusContexts 2023-05-23 16:51:08 +02:00
William Martin
90e680f21a Split CheckRunState and StatusState parsing 2023-05-23 15:59:12 +02:00
William Martin
b02d5efb18 Use two queries in one request for PR feature detection 2023-05-23 15:42:38 +02:00
Mislav Marohnić
9846af16eb
Merge pull request #7477 from cli/jtpetty/issue-7024-take-2
Updated to sanitize asset filename prior to uploading. Fixes #7024
2023-05-23 11:18:12 +02:00
Mislav Marohnić
cb33bce8c1
Merge pull request #7474 from cli/bump-browser
Update browser package to avoid Windows crash
2023-05-23 11:13:31 +02:00
vilmibm
a15eb91a0c go generate 2023-05-23 00:13:57 -07:00
vilmibm
5597139df3 switch to []int return for multiselect 2023-05-23 00:12:44 -07:00
vilmibm
bfdd6e9c4b Merge remote-tracking branch 'upstream' into run-prompts 2023-05-22 23:46:04 -07:00
Tommy Petty
e9ff00bd01 Updated to sanitize asset filename prior to uploading. Fixes #7024 2023-05-22 15:29:48 -04:00
William Martin
c90b87bdad Remove unused prInstrospection fixture 2023-05-22 18:46:28 +02:00
William Martin
42b61ad53e Inject fake detector into PR status tests 2023-05-22 18:44:51 +02:00
William Martin
cdd05a38c6 Move CheckRunAndStatusContextCounts feature detection up stack 2023-05-22 17:32:52 +02:00
William Martin
75e35e2dde Use pseudo field for statusCheckRollupWithCountByState 2023-05-22 17:28:15 +02:00
William Martin
6f4038d981
Merge pull request #7476 from cli/dependabot/go_modules/github.com/mattn/go-isatty-0.0.19
build(deps): bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19
2023-05-22 17:18:45 +02:00
dependabot[bot]
0a3c5726b7
build(deps): bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.18 to 0.0.19.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.18...v0.0.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 15:00:08 +00:00
Mislav Marohnić
aee2a11a22
Merge pull request #7475 from torgeir/clarify-wording-listing-workflows
Clarify docs regarding what is listed when running gh workflow list
2023-05-22 14:29:45 +02:00
Torgeir Thoresen
70678b7333
Clarify docs regarding what is listed when running gh workflow list
Prevent confusion that `--all` actually list all workflows, `--limit` is
what actually needs to be adjusted to list all workflows, if there are
many.
2023-05-22 13:48:18 +02:00
William Martin
9e45b0b2d9
Merge pull request #7473 from cli/wm/update-triage-with-sev-descriptions
Update triage.md with severity descriptions
2023-05-22 13:11:44 +02:00
Mislav Marohnić
917c1faa71
Update browser package to avoid Windows crash 2023-05-22 12:31:05 +02:00
William Martin
bf5427a653
Update triage.md with severity descriptions 2023-05-22 12:19:37 +02:00