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}"
@findepi
findepi / Dockerfile
Last active July 2, 2026 10:32
Retrieved GitHub secrets securely
# store as docky/Dockerfile to match references in the other script
FROM ubuntu:latest
RUN true && \
export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y openssl && \
apt-get clean && \
echo OK