Files
composite-actions/.github/gh-run-delete.sh
严浩 41ff2ce04a
2025-08-12 14:04:44 +08:00

5 lines
208 B
Bash

while gh run list --json databaseId --jq '.[].databaseId' | grep -q .; do
for id in $(gh run list --json databaseId --jq '.[].databaseId'); do gh run delete $id; done
echo "继续删除下一批..."
done