Skip to content

Instantly share code, notes, and snippets.

View Mause's full-sized avatar
:shipit:
Still trying to figure out what I'm doing

Elliana May Mause

:shipit:
Still trying to figure out what I'm doing
View GitHub Profile
@Mause
Mause / cancel_workflows.py
Last active January 6, 2024 17:14 — forked from Mytherin/cancel_workflows.py
Script to rerun failed github action workflows belonging to a PR with a specific title
#!/usr/bin/env python3
import subprocess
import json
import argparse
from typing import Iterable
try:
from rich_argparse import RichHelpFormatter
except ImportError:
RichHelpFormatter = argparse.HelpFormatter