Skip to content

Automatically delete old GitHub Action workflow runs

License

Notifications You must be signed in to change notification settings

Trinovantes/userscript-delete-workflow-runs

Repository files navigation

Delete Workflow Runs

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.

Installation Guide

  1. Install a Userscript manager for your web browser

  2. 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.

Dev Guide

  1. Install prereqs

    • node
    • yarn
    • Tampermonkey on Chrome
  2. In Chrome:

    • Go to chrome://extensions/
    • Go into Tampermonkey's details
    • Enable Allow access to file URLs
  3. Run dev server

    yarn install
    yarn dev
    
  4. In Chrome:

    • Go to http://localhost:8080/userscript-delete-workflow-runs.proxy.user.js and install the script