From 220fa03b2eca5fe7f23407784085b748aaba97ce Mon Sep 17 00:00:00 2001 From: Bruno Alexandre Rosa <1791393+brunoalr@users.noreply.github.com> Date: Sat, 14 Mar 2026 20:10:07 -0300 Subject: [PATCH] add comment with list of available fields --- .ci/gh_buildkit_cache_usage.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/gh_buildkit_cache_usage.sh b/.ci/gh_buildkit_cache_usage.sh index 49f449969..5800b69a5 100755 --- a/.ci/gh_buildkit_cache_usage.sh +++ b/.ci/gh_buildkit_cache_usage.sh @@ -38,6 +38,7 @@ while [[ $# -gt 0 ]]; do esac done +# `gh cache list --json`` fields (see https://cli.github.com/manual/gh_cache_list): createdAt, id, key, lastAccessedAt, ref, sizeInBytes, version if [[ $# -eq 0 ]]; then echo "Grouping all caches by prefix..." json=$(gh cache list --limit "$LIMIT" --json key,sizeInBytes 2>/dev/null) || {