Skip to content

Instantly share code, notes, and snippets.

View jackhkmatthewsBB's full-sized avatar

Jack Matthews jackhkmatthewsBB

View GitHub Profile
@magnetikonline
magnetikonline / README.md
Last active May 9, 2024 05:17
Cleanup legacy GitHub Actions workflow runs.

Cleanup legacy GitHub Actions workflow runs

Python utility to bulk delete GitHub Actions runs for a given workflow, either current or legacy/since removed. The GitHub web UI currently allows removal of individual workflow runs - but this becomes tedious quickly when performed in bulk.

Usage

Create a Personal access token allowing the workflow scope:

image