Commit graph

2567 commits

Author SHA1 Message Date
vilmibm
3abba558f3 review feedback 2022-11-08 12:32:44 -08:00
vilmibm
85e336526d tweak usage 2022-11-08 12:31:33 -08:00
vilmibm
e84383589e add more usage info 2022-11-08 11:15:39 -08:00
vilmibm
869248fc53 review feedback 2022-11-07 15:05:35 -08:00
vilmibm
4a2c5f222a add gh ext search 2022-11-04 15:21:12 -07:00
Natthakit Susanthitanon
8617eb7df9
Add jobs field for run view --json (#6507)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-11-03 12:59:35 +00:00
Mislav Marohnić
9ec2107cc6
Merge pull request #6421 from cli/go-gh-term
Dogfood term package from go-gh
2022-11-03 13:02:24 +01:00
Ariel Deitcher
33e589465e
--force overrides pinned extensions (#6513) 2022-11-03 12:12:20 +01:00
Sam Coe
f96b2fce57
Refactor git client and add tests (#6525) 2022-11-03 11:58:38 +01:00
Mislav Marohnić
6c8aaff919
Merge pull request #6538 from cli/release-make-latest
Support explicitly marking a Release as "Latest"
2022-11-03 11:31:10 +01:00
BakaFT
fa2223129b
Warn from gh gpg-key add when key is not armored (#6528)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-11-02 16:33:25 +01:00
Mislav Marohnić
ba028b9044 Fix setting up git credential helper on Windows 2022-11-02 15:53:26 +01:00
Mislav Marohnić
ff9b18310a
Merge pull request #6552 from cli/owner-affiliations
Fix `repo list` when belonging to org with IP Allow list enabled
2022-11-02 10:28:22 +01:00
Luis Filipe Pessoa
a15c254eba
Adding output functionality (#6410)
Output flag allows one to download to a specific file location or event redirect to output using '-' as argument.

Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-11-02 10:24:33 +01:00
Mislav Marohnić
17e64674f5
repo list: fix when belonging to org with IP Allow list enabled
Using `ownerAffiliations` instead of `affiliations` seems more semantically correct to list all repos belonging to a user or an organization, but the latter thas an added benefit that it also works around a problem when the API would return an error if the user happens to belong to an organization that has IP allow list enabled.

From our GraphQL docs:

> `affiliations`: Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.
>
> `ownerAffiliations`: Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.
2022-11-02 00:55:46 +01:00
Caleb Brose
3692defe8d
Merge pull request #6551 from jungaretti/jungaretti/incremental-rebuild 2022-11-01 17:45:31 -05:00
JP Ungaretti
925edf3892 Add long description 2022-11-01 22:35:39 +00:00
JP Ungaretti
66c4e7eca8 Use Log and Error instead of Fatal 2022-11-01 21:45:56 +00:00
JP Ungaretti
647ba727f1 Fix name of mock function 2022-11-01 21:10:58 +00:00
JP Ungaretti
a29820ebe3 Use incremental rebuild by default 2022-11-01 21:00:14 +00:00
Mislav Marohnić
e8dc825c7c
Avoid duplicate release when creating a release with assets (#6493)
When publishing a release, we rely on server-side validation to abort the operation if an existing published release with the same tag name already exists.

However, then creating a release with assets, we first create a draft release, upload assets to it, then publish. If there was an existing release with the same tag name, the operation would fail but it would leave behind a temporary draft release with assets. This makes the operation fail earlier, before creating any records.
2022-11-01 19:03:03 +00:00
Mislav Marohnić
afef80e988
Merge pull request #6494 from cli/run-number
gh run list --json: add `number` field
2022-11-01 19:40:34 +01:00
Jeffrey Duroyon
6d32ce612c
feat: make topic param as list in repo list command (#6539)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-11-01 19:39:43 +01:00
Mislav Marohnić
eeff8868ab
Merge pull request #6527 from cli/pr-create-no-git
Enable `gh pr create` from outside of a local git repo
2022-11-01 19:39:15 +01:00
Mislav Marohnić
fe485c14cc
Merge pull request #6535 from jsoref/issue-6534
Replace secrets.GITHUB_TOKEN with github.token
2022-11-01 19:34:53 +01:00
Mislav Marohnić
0d77e9e945
Merge pull request #6537 from cli/hyperlink-helper-docs
Document the hyperlink helper
2022-11-01 19:34:03 +01:00
swfz
2b570d9e53
Upgrade actions/checkout to v3 in extension template (#6543) 2022-11-01 17:18:10 +00:00
Josh Soref
6530c8fa1b Replace secrets.GITHUB_TOKEN with github.token 2022-11-01 10:59:17 -04:00
Mislav Marohnić
c63e3a094d
release create: support explicitly marking as "Latest" 2022-10-31 16:30:51 +01:00
Mislav Marohnić
38d465b1da
Merge remote-tracking branch 'origin' into go-gh-term 2022-10-31 15:33:24 +01:00
Mislav Marohnić
dbc244a993
Document the hyperlink helper 2022-10-31 15:04:53 +01:00
Mislav Marohnić
8c32ca925c
Enable gh pr create --repo <repo> from outside of a local git repository
When failing to read information from the local git repository, silence that failure if `--repo` was given.
2022-10-28 18:22:37 +02:00
Mislav Marohnić
5d3a8e380a
Fix double import 2022-10-28 17:58:04 +02:00
Mislav Marohnić
58b12bfd13
Fake terminal-like object in tests 2022-10-25 16:56:28 +02:00
vilmibm
afecf7e5d0 use tableprinter in issue develop 2022-10-24 15:23:52 -07:00
vilmibm
96372e5ac8 use new GitClient in issue develop 2022-10-24 15:02:24 -07:00
Nate Smith
a20192943d
Merge pull request #6254 from Bestra/create-linked-branch-command
Add `gh issue develop` command
2022-10-24 16:26:56 -05:00
Mislav Marohnić
66282b6819
Restore color override 2022-10-24 17:15:06 +02:00
Mislav Marohnić
76ad94cc35
Merge remote-tracking branch 'origin' into go-gh-term 2022-10-24 17:07:24 +02:00
Mislav Marohnić
aec2c5f330
run: add number json field to access run number 2022-10-24 15:40:07 +02:00
Sam Coe
4294ee14a1
revert revert 57fbe4f317 (#6474) 2022-10-20 12:17:20 +00:00
Sam Coe
2cefb9fa59
Fix pr create regression (#6472)
* Revert "Refactor to use new git client (#6447)"

This reverts commit 57fbe4f317.

* Fix pr create regression
2022-10-20 12:46:23 +03:00
Sam Coe
57fbe4f317
Refactor to use new git client (#6447) 2022-10-19 21:11:36 +03:00
ffalor
e7270e401d
add --web flag to pr diff command (#6439) 2022-10-18 09:02:53 +00:00
Ashwin Jeyaseelan
a756ffb1e8
Fix Codespace Creation Devcontainer bug (#6389) 2022-10-18 11:11:28 +03:00
Seito Tanaka
e523d50176
Add support for editing last issue/pr comment (#6384) 2022-10-18 08:10:12 +00:00
Mislav Marohnić
3fe5026d39
Migrate to tableprinter from go-gh (#6346) 2022-10-17 15:15:39 +02:00
Natthakit Susanthitanon
4265b5b804
Add gpg-key delete command (#6360) 2022-10-17 09:07:51 +03:00
Ariel Deitcher
abb8c86ee8
mntly/extension not found (#6425)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-10-14 15:27:15 +02:00
Sam Coe
c89d0402bb
Improved error messaging for repo sync scenario (#6430) 2022-10-14 09:46:12 +00:00