Commit graph

6573 commits

Author SHA1 Message Date
Nate Smith
bd65e488a4
Merge pull request #7469 from cli/dependabot/go_modules/github.com/stretchr/testify-1.8.3
build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3
2023-05-19 10:37:45 -07:00
dependabot[bot]
d8888f2641
build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3)

---
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-19 14:58:34 +00:00
William Martin
1081e51648
Merge pull request #7460 from cli/dependabot/go_modules/github.com/stretchr/testify-1.8.2
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2
2023-05-17 17:20:19 +02:00
William Martin
5ec494f00d
Merge pull request #7454 from cli/wm/pull-request-checks-status-confidence
Get some additional confidence around PullRequest ChecksStatus
2023-05-17 17:05:07 +02:00
dependabot[bot]
4a76659996
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2)

---
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-17 14:58:44 +00:00
Mislav Marohnić
c5fc35527e
Merge pull request #7459 from cli/bump-wincred
Fix windows crash by bumping wincred
2023-05-17 15:25:12 +02:00
William Martin
7e2bac89bd
Remove old, unused detector fields (#7458) 2023-05-17 14:50:28 +02:00
Mislav Marohnić
83d6dc5878
Fix windows crash by bumping wincred 2023-05-17 14:43:31 +02:00
William Martin
bfb5e8f1d6 Avoid using named return in PR ChecksStatus
See: https://dave.cheney.net/practical-go/presentations/gophercon-israel.html#_avoid_named_return_values
2023-05-16 19:53:35 +02:00
William Martin
c4bb344ddd Add some comments to PR ChecksStatus 2023-05-16 19:53:35 +02:00
William Martin
cd8547b227 Add some further test coverage around PR ChecksStatus 2023-05-16 19:53:35 +02:00
Sam Coe
f77a3dcacb
Do not fall back to legacy template if template selector returns nil (#7444) 2023-05-16 09:44:00 +12:00
Nate Smith
4af21f71c0
Merge pull request #7445 from ffalor/7216
respect GH_REPO env variable in `pr create`
2023-05-15 13:51:40 -07:00
Nate Smith
7b78e3204e
Merge pull request #7449 from goldstar611/patch-1
Mention setting GH_ENTERPRISE_TOKEN when GH_HOST is set
2023-05-15 11:07:42 -07:00
Tony F
ae3e879480
Mention setting GH_ENTERPRISE_TOKEN
When GH_HOST is set
2023-05-15 10:49:45 -05:00
ffalor
ff991c3c84
Merge branch 'trunk' into 7216 2023-05-15 09:57:07 -05:00
Rick Kilgore
0d110ea8bf
survey: fix color contrast of default values in prompts (#7354) 2023-05-15 11:47:53 +02:00
ffalor
ae58b7714c respect GH_REPO env variable in pr create 2023-05-14 22:38:49 -05:00
Jakub Kuczys
bd749b67f6
Allow gh repo set-default --view without repo argument (#7441) 2023-05-15 11:08:01 +12:00
William Martin
07ed1e4e8a
Introduce helpTopics type and reduce duplication across commands (#7414) 2023-05-11 14:59:12 +02:00
Mislav Marohnić
07d3a7e302
Merge pull request #7424 from cli/deployment-release-guard
Fix release guard for deployment workflow
2023-05-11 10:57:32 +02:00
Mislav Marohnić
aa2adab7fa
Fix label assets 2023-05-10 12:38:06 +02:00
Mislav Marohnić
fbb9d71b02
Fix release guard for deployment workflow
Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2023-05-10 12:14:07 +02:00
Kousik Mitra
8d0f211fdb
Print message after codespace deletion (#7353) 2023-05-09 20:56:54 -05:00
Martijn Pieters
0da0de4022
Include auto-merge information in gh pr view (#7385) 2023-05-10 08:39:52 +12:00
Martijn Pieters
83aaa76141
Include auto-merge information in gh pr status (#7386)
PRs that have auto-merge enabled are marked with a green "✓ Auto-merge enabled" label.
2023-05-10 08:32:05 +12:00
Mislav Marohnić
e1215e5867
Merge pull request #7324 from cli/deployment
Add ability to trigger deployments without having to push a git tag
2023-05-09 20:29:04 +02:00
Biswapriyo Nath
591fcafd9c
Make: Fix target name for Windows platform (#7370)
This fixes the taget name by adding .exe extension for Windows platform.
Otherwise, the following error is shown with `make bin/gh.exe' command.

    make: *** No rule to make target 'script/build', needed by 'bin/gh.exe'.  Stop.
2023-05-09 20:23:54 +02:00
Mislav Marohnić
8b987e2deb
New deployment workflow
Add ability to trigger deployments without having to push a git tag
2023-05-09 20:23:54 +02:00
Josh Kraft
b01c27aba2
Add progress labels for gh release download (#7380) 2023-05-07 21:28:37 +00:00
Martijn Pieters
bf3ffba8ef
Add PR auto-merge status info to PR queries (#7384) 2023-05-04 09:36:21 +12:00
vwkd
d349ba185a
fix empty default description for local repository (#7383) 2023-05-04 09:21:12 +12:00
Kevin Lee
03f1ba75ac
Add alias import command (#7118) 2023-05-04 09:17:39 +12:00
Caleb Brose
443bb75f09
Fix shellcheck bugs in generate.sh (#7392) 2023-05-01 10:31:06 -05:00
Kousik Mitra
d0207a2ede
Add capability to filter codespaces by repo owner (#7347)
* Add capability to filter codespaces by repo owner

* Replace Flags with PersistentFlags

* Reword flag description

* Update test seed

* Add mutual exclusion

---------

Co-authored-by: Caleb Brose <5447118+cmbrose@users.noreply.github.com>
2023-04-27 10:42:08 -05:00
Nate Smith
50e16890f8
Merge pull request #7369 from Xerkus/hotfix/make-install
Fix Makefile compatibility with macOS
2023-04-25 11:39:41 -07:00
Aleksei Khudiakov
c64032b981
Fix Makefile compatibility with macOS
`install` command on macOS does not support all flags supported by coreutils version.
Create directories as separate `install -d` call.

Signed-off-by: Aleksei Khudiakov <aleksey@xerkus.pro>
2023-04-26 00:39:56 +10:00
Martijn Pieters
530002ee7a
Pretty-print JSON results of jq filtering (#7236)
When connected to a TTY, tell the jq formatter to indent the output, and
enable colorization of the output if the terminal supports it.

Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-04-25 13:27:17 +00:00
Saurav Maheshkar
6a6df0d39b
gh: move CODEOWNERS inside the .github/ dir (#7366) 2023-04-25 13:02:16 +00:00
Yeikel
9b75e274e4
feat: add visibility field (#7337) 2023-04-25 12:58:01 +00:00
Heath Stewart
17679cf65f
Edit multiple issues, PRs in parallel (#7259)
Allows multiple issues or PRs to be edited in parallel, and querying for shared fields once to reduce network requests.

Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2023-04-25 14:45:41 +02:00
cawfeecake
9473ec890c
add --created flag to gh run ls to filter listed runs by when they were created (#7352) 2023-04-25 12:43:19 +02:00
Mislav Marohnić
b9553fdd65
Merge pull request #7363 from cawfeecake/add-event-filter-runs-ls
add `--event` flag to `gh run ls` to filter listed runs by their trigger
2023-04-25 12:03:56 +02:00
cawfeecake
d7512bb2e7
add --event flag to gh run ls to filter runs by their trigger 2023-04-24 20:50:20 -07:00
Nate Smith
350011162a
Merge pull request #7293 from Xerkus/feature/shell-completion-bundled-on-release 2023-04-21 09:53:47 -07:00
Benjamin Levesque
7cfbf478d5
Diacritics substitution in prompt (#7205) 2023-04-21 14:09:59 +00:00
Mislav Marohnić
8b2cea1b8f
Merge pull request #7342 from goggle/typos01
Correct some typos
2023-04-21 16:09:19 +02:00
Alexander Seiler
218f29f296
Correct some typos 2023-04-21 03:51:31 +02:00
nate smith
65a8ab25df Merge remote-tracking branch 'origin/trunk' into feature/shell-completion-bundled-on-release 2023-04-20 12:13:02 -07:00
Caleb Brose
09e86d0ebf
Fix gh cs ports requiring sudo for privileged port numbers (#7326) 2023-04-19 07:00:44 -05:00