Last active
June 3, 2024 21:22
-
-
Save nickboldt/7c3acc36f96c62f67c61b09b6d1a7b29 to your computer and use it in GitHub Desktop.
kill-renovate-actions.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for status in queued in_progress; do | |
for num in $(gh run list -s "$status" -u renovate --json databaseId | \ | |
jq '.[]' | grep databaseId | sed -r -e "s/.+databaseId\": (.+)/\1/"); do | |
gh run cancel $num; | |
done; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment