From ec8c4939b32f998b38a2690adbef430334f8c382 Mon Sep 17 00:00:00 2001 From: Bruno Alexandre Rosa <1791393+brunoalr@users.noreply.github.com> Date: Sat, 14 Mar 2026 18:40:22 -0300 Subject: [PATCH] deslop --- .ci/gh_buildkit_cache_usage.sh | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.ci/gh_buildkit_cache_usage.sh b/.ci/gh_buildkit_cache_usage.sh index 4904d9d35..09c35e331 100755 --- a/.ci/gh_buildkit_cache_usage.sh +++ b/.ci/gh_buildkit_cache_usage.sh @@ -1,16 +1,9 @@ #!/bin/bash -# Reports GitHub Actions cache usage: either grouped by key prefix or for a single prefix. -# Prefix = first segment of key (before first "-" or "/"). E.g. buildkit-blob-* -> buildkit, vcpkg/xxx -> vcpkg. -# -# Requires: gh (GitHub CLI), jq -# Run from repo root with gh auth login already done (or GITHUB_TOKEN set in CI). +# Reports GitHub Actions cache usage, grouped by key prefix (first segment before "-" or "/") or for one prefix. # # Usage: .ci/gh_buildkit_cache_usage.sh [key-prefix] -# No args: fetch all caches, group by prefix, print table (count + size per prefix) and grand total. -# One arg: report only caches whose key starts with key-prefix (default: buildkit-blob). -# -# Example: .ci/gh_buildkit_cache_usage.sh # all prefixes -# Example: .ci/gh_buildkit_cache_usage.sh buildkit-blob # single prefix +# No args: all caches grouped by prefix. One arg: caches with that key prefix (default buildkit-blob). +# Requires: gh, jq set -eo pipefail