From b5f5aafe45918613352889aaf6c27afe9684000c Mon Sep 17 00:00:00 2001 From: tycho garen Date: Wed, 31 Jan 2024 23:22:15 -0500 Subject: [PATCH 1/2] fix: ci cleanup cache command --- .github/workflows/pr-cleanup.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-cleanup.yaml b/.github/workflows/pr-cleanup.yaml index 20f52d3f0..a8ad96108 100644 --- a/.github/workflows/pr-cleanup.yaml +++ b/.github/workflows/pr-cleanup.yaml @@ -23,7 +23,7 @@ jobs: --limit=2000 \ --json='key,id,ref' \ --jq='.[] | select(.ref == "refs/pull/${{ github.event.pull_request.number }}/merge") | .id' \ - | xargs --verbose --max-args=1 gh cache delete + | xargs --verbose --max-args=1 gh cache delete --repo="${{ github.repository }}" clean-up-hosted-datasets: name: 'Clean Up Hosted Datasets' From ea23a99184e41dbc47a5997caab28f7ec77fcb97 Mon Sep 17 00:00:00 2001 From: Sam Kleinman Date: Wed, 31 Jan 2024 23:26:23 -0500 Subject: [PATCH 2/2] Update .github/workflows/pr-cleanup.yaml --- .github/workflows/pr-cleanup.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-cleanup.yaml b/.github/workflows/pr-cleanup.yaml index a8ad96108..379ce118e 100644 --- a/.github/workflows/pr-cleanup.yaml +++ b/.github/workflows/pr-cleanup.yaml @@ -23,7 +23,7 @@ jobs: --limit=2000 \ --json='key,id,ref' \ --jq='.[] | select(.ref == "refs/pull/${{ github.event.pull_request.number }}/merge") | .id' \ - | xargs --verbose --max-args=1 gh cache delete --repo="${{ github.repository }}" + | xargs --verbose --max-args=1 gh cache --repo="${{ github.repository }}" delete clean-up-hosted-datasets: name: 'Clean Up Hosted Datasets'