mirror of
https://github.com/yanhao98/composite-actions.git
synced 2025-07-13 14:50:48 +08:00
添加 gh-run-delete.sh 脚本以批量删除 GitHub 运行 [no ci]
This commit is contained in:
4
.github/gh-run-delete.sh
vendored
Normal file
4
.github/gh-run-delete.sh
vendored
Normal 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
|
Reference in New Issue
Block a user