Automatically delete old GitHub Action workflow runs
preview.mp4
By default, this userscript will keep the first (i.e. the latest) workflow run. The number of runs to preserve can be configured in the settings.
-
Install a Userscript manager for your web browser
- Greasemonkey (Firefox)
- Tampermonkey (Chrome, Firefox, Safari, Edge)
-
Download the latest build. If you have Greasemonkey or Tampermonkey installed, then you should immediately be prompted with a confirmation window asking you if you wish to install this Userscript.
-
Install prereqs
node
yarn
- Tampermonkey on Chrome
-
In Chrome:
- Go to
chrome://extensions/
- Go into Tampermonkey's details
- Enable
Allow access to file URLs
- Go to
-
Run dev server
yarn install yarn dev
-
In Chrome:
- Go to
http://localhost:8080/userscript-delete-workflow-runs.proxy.user.js
and install the script
- Go to