William Martin
d4cd79e28c
Use int64 for GitHub database IDs and add lint check
...
Change all struct fields representing GitHub database IDs from int to
int64 to match the API spec and prevent potential overflow on 32-bit
architectures.
Add a custom go/analysis linter (idtype-checker) that flags struct
fields with ID-like names or JSON tags using int instead of int64,
integrated into make lint.
Closes #9247
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-13 13:16:43 +02: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
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
Natsuki Ikeguchi
9ef7a5f262
test: Add unit test for cache.ExportData
2023-09-24 02:53:08 +09: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
Josh Kraft
213a59b8bd
create cache commands
2023-05-03 11:03:50 -06:00