Skip to content

Instantly share code, notes, and snippets.

View losipiuk's full-sized avatar

Łukasz Osipiuk losipiuk

View GitHub Profile
@findepi
findepi / rerun-pr-checks.sh
Last active June 25, 2024 16:54
Tirelessly rerun all the failed checks in all open PRs
#bash
set -euo pipefail
sleep_before_reruns_seconds=$[10 * 60]
while true; do
slept=false
for pr_link in $(gh pr list --search 'author:@me' --limit 999 --json 'url' --jq '.[].url'); do
echo "checking PR ${pr_link}"