Meredith Lancaster
82bd13b127
add logger and test packages
...
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 17:52:20 -07:00
Meredith Lancaster
7f3e818d5f
fix imports
...
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 17:52:06 -07:00
Meredith Lancaster
5462df5e7b
start pulling in the github api client wrapper
...
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 16:31:23 -07:00
Meredith Lancaster
97c10f4c04
move artifact package over
...
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 16:16:20 -07:00
Meredith Lancaster
3a08c03cc7
clean up common and verify specific policy code
...
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 16:15:29 -07:00
Meredith Lancaster
a082815d81
start moving over verify cmd and general verification code
...
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 15:58:42 -07:00
Meredith Lancaster
2ccc34afdc
Merge branch 'trunk' into gh-attestation-cmd
2024-03-01 13:47:06 -07:00
Harvey Sanders
9dd102ffd0
Support project view --web with TTY ( #8773 )
2024-03-01 17:45:29 +01:00
William Martin
337ae29769
Merge pull request #8738 from stuart-leitch/docs/clarify-archived-repo-beahaviour-when-searching-prs
...
Clarify helptext for search prs regarding archived repos
2024-03-01 10:30:21 +01:00
Stuart Leitch
cfd2d645b2
Clarify helptext for gh search issues and gh search repos regarding archived repos
2024-02-29 22:38:55 +00:00
William Martin
0d4bf83a41
Merge pull request #8595 from benebsiny/cli-7849
...
Link Project to Repository or Team Command
2024-02-29 17:02:39 +01:00
William Martin
9dc23559c1
Merge pull request #8711 from toshimaru/add-cache-ref-optoion-to-cache-list
...
feat: Add `ref` option to `gh cache list`
2024-02-29 13:30:50 +01:00
William Martin
b7ea025475
Make minor cache list ref flag adjustments
2024-02-29 13:02:49 +01:00
William Martin
2ee6737053
Use regex to split apart the git client Commit logs
...
Theoretically this should be clearer and more robust than the previous
version which had some custom loop logic while trying to parse newlines
and determine whether it had reached a new commit entry by trying to parse
a git sha. This would not have worked correctly if a commit body contained
a sha on a new line.
2024-02-27 20:49:00 +01:00
William Martin
2b0484f5aa
Use null byte separators when fetching comments from git
2024-02-27 18:00:40 +01:00
Stuart Leitch
19367c6458
fixed whitespace
2024-02-21 23:31:57 +00:00
Stuart Leitch
25c1610e37
Clarify helptext for search prs regarding archived repos
2024-02-21 23:17:19 +00:00
William Martin
24481c5c2e
Merge pull request #8715 from dean-tate/dean-tate/8712-fix-repo-variable-update-msg
...
bug: fixed the msg returned for patching a repo variable
2024-02-20 14:58:31 +01:00
Dean Tate
a3601a7eca
bug: fixed the result.Operation variable prior to patchRepoVariable being called in the setVariable function.
2024-02-18 11:12:01 +11:00
William Martin
81be2b67ee
Remove mainLoop label from garden
2024-02-17 13:45:39 +01:00
toshimaru
818c158212
feat: Add ref option to gh cache list
...
List GitHub Actions caches with `ref` filtering.
> ref string
> The full Git reference for narrowing down the cache. The ref for a branch should be formatted as refs/heads/<branch name>. To reference a pull request use refs/pull/<number>/merge.
ref. https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#list-github-actions-caches-for-a-repository
2024-02-17 09:28:06 +09:00
William Martin
658e7ac889
Ensure PRs with one commit have title and body prefilled
2024-02-16 16:30:44 +01:00
William Martin
14617e59e9
Update test to run against trunk
2024-02-16 16:30:00 +01:00
William Martin
237f6e3435
Test PR create uses commit title and body when only one commit
2024-02-16 16:19:02 +01:00
benebsiny
66fb5738a3
chore: simplify parameter owner
2024-02-15 23:24:32 +08:00
benebsiny
7dfaa328aa
Support for [HOST/]OWNER/REPO format
2024-02-15 23:16:00 +08:00
benebsiny
874da37a24
Replace assert with require in testing
2024-02-15 18:38:50 +08:00
benebsiny
9225102a67
Merge branch 'trunk' of github.com:cli/cli into trunk
2024-02-15 18:33:37 +08:00
Meredith Lancaster
e3ae656fc6
use gh-attestation branch for passing iostreams from the root
...
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-02-13 15:21:50 -07:00
Meredith Lancaster
cd221b7d1e
rename file
...
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-02-13 14:05:17 -07:00
Meredith Lancaster
2be3de6047
update args passed to the attestation cmd
...
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-02-13 14:04:52 -07:00
Meredith Lancaster
4337447b8e
add attestation cmd
...
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-02-13 13:30:31 -07:00
William Martin
8948ee8c3b
Merge pull request #8667 from toshimaru/add-cache-key-optoion-to-cache-list
...
feat: Add cache key option to `gh cache list`
2024-02-12 11:34:15 +01:00
William Martin
960c6662ca
Update cache list key example to be clearer
2024-02-09 17:21:43 +01:00
William Martin
b7ffe6ed27
Add cache list key example to help
2024-02-09 17:19:31 +01:00
William Martin
662db3ca9e
Test cache list key is sent to API
2024-02-09 17:15:15 +01:00
William Martin
8768eece8f
Change cache list key to lowercase short
2024-02-09 17:14:59 +01:00
Andy Feller
c47c1db376
Merge pull request #8367 from Rebeccasun31/show_aliases
...
Documentation for built-in aliases
2024-02-08 14:05:05 -05:00
toshimaru
8252e59f17
feat: Add cache key option to gh cache list
...
Add `key` option to `gh cache list` command.
```
-K, --key string Filter by cache key prefix
```
> An explicit key or prefix for identifying the cache
ref. https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#list-github-actions-caches-for-a-repository
- Add key option related tests to `TestNewCmdList`
2024-02-05 12:42:00 +09:00
Zack Sloane
f70bcba779
switch to [] characters for default info in usage strings
2024-02-01 21:35:31 +00:00
Zack Sloane
15166f485a
Merge branch 'cli:trunk' into trunk
2024-02-01 16:27:12 -05:00
Federico Guerinoni
3409d068d4
Make commit title in bold
2024-02-01 09:12:06 +01:00
Federico Guerinoni
42613172bd
pr: Add flag fillverbose
...
This is used to fill the body of PR with all commits msg + body
of every commits because there can be lot of useful information.
Signed-off-by: Federico Guerinoni <guerinoni.federico@gmail.com>
2024-02-01 09:12:04 +01:00
Andy Feller
28c3a40558
Merge pull request #8632 from leevic31/8579-ordering-by-created-at-date-for-releases
...
Feature: added Order flag for release list command
2024-01-31 17:09:23 -05:00
William Martin
600aeee2a4
Avoid parsing create or update label http response
2024-01-31 18:55:52 +01:00
David Gardiner
400db0f41b
Fix linting error
2024-01-30 13:24:23 -08:00
David Gardiner
2cb044caf5
Parse SSH args before creating the shell
2024-01-30 13:16:46 -08:00
benebsiny
f9a54f678a
Remove --format flag and add description for not specifying --repo and --team flag
2024-01-30 23:06:05 +08:00
David Gardiner
8c77e53c35
Send activity signals during non-interactive codespace SSH command
2024-01-29 19:20:51 -08:00
benebsiny
28c8376b56
Fix printed project number
...
Fix the error regarding the printed error number when selecting the project number in interactive mode
2024-01-27 11:53:10 +08:00