Skip to content

Instantly share code, notes, and snippets.

@nickboldt
Last active June 3, 2024 21:22
Show Gist options
  • Save nickboldt/7c3acc36f96c62f67c61b09b6d1a7b29 to your computer and use it in GitHub Desktop.
Save nickboldt/7c3acc36f96c62f67c61b09b6d1a7b29 to your computer and use it in GitHub Desktop.
kill-renovate-actions.sh
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