添加 gh-run-delete.sh 脚本以批量删除 GitHub 运行 [no ci]

This commit is contained in:
mini2024
2025-04-04 16:19:14 +08:00
parent b821c98ddd
commit 27132e0256

4
.github/gh-run-delete.sh vendored Normal file
View File

@ -0,0 +1,4 @@
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