diff --git a/.github/workflows/pr-cleanup.yaml b/.github/workflows/pr-cleanup.yaml index c0fe3dfde..ed28e793e 100644 --- a/.github/workflows/pr-cleanup.yaml +++ b/.github/workflows/pr-cleanup.yaml @@ -22,7 +22,7 @@ jobs: gh cache list --repo="${{ github.repository }}" \ --limit=2000 \ --json='key,id,ref' \ - --jq='.[] | select(.ref == "refs/pull/${{ github.event.pull_request.number }}/merge")' \ + --jq='.[] | select(.ref == "refs/pull/${{ github.event.pull_request.number }}/merge") | .id' \ | xargs --verbose --max-args=1 gh cache delete clean-up-hosted-datasets: