Commit graph

18 commits

Author SHA1 Message Date
Viktor Szépe
6d9dd57774 Fix typos 2024-05-09 20:15:27 +00:00
William Martin
b7ea025475 Make minor cache list ref flag adjustments 2024-02-29 13:02:49 +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
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
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
w1mvy
9dd5805f9c
Add json export flags to variable list command (#8516) 2024-01-17 10:09:09 -08:00
William Martin
a9bdd8d186 Fix flaky tests coupled to relative dates 2023-12-13 14:44:16 +01:00
Heath Stewart
7738b6187c
Add headers to all tables (#8157) 2023-10-20 11:20:02 +02:00
Andy Feller
4dc80c3925
Merge pull request #7954 from siketyan/feat/cache-list-json
feat(cache): Add JSON exporting support for cache list
2023-09-26 07:51:16 -04:00
Natsuki Ikeguchi
9ef7a5f262
test: Add unit test for cache.ExportData 2023-09-24 02:53:08 +09:00
Benoit Pierre
564d07ce00 cache/delete: percent-encode keys 2023-09-21 16:32:53 +02:00
Natsuki Ikeguchi
1749574310
feat(cache): Add JSON exporting support for cache list
Signed-off-by: Natsuki Ikeguchi <me@s6n.jp>
2023-09-07 01:35:03 +09:00
cawfeecake
aa231319ca
Add missing "ls" aliases to list commands (#7818) 2023-08-10 09:08:15 -07:00
Josh Kraft
1dc54f85fb typo 2023-05-03 11:08:32 -06:00
Josh Kraft
213a59b8bd create cache commands 2023-05-03 11:03:50 -06:00