Does it make sense to create a workflow to clean up old workflow runs?
I'm using my dwr script right now to clean up some of the workflow runs in my repositories. It got me thinking - what about an automatic cleanup? Would it make sense to write a workflow ... to delete old workflow runs on a regular basis? There's a sort of pleasant balance in there as well, in that eventually, the runs from these cleanup workflows would be themselves cleaned up too.
In case you're interested in the dwr script as it stands right now, you can find it here in my dotfiles.
What do you think? Is it worth following this thought to an experimental cleanup workflow definition? What would that look like?
Does it make sense to create a workflow to clean up old workflow runs?
I'm using my dwr script right now to clean up some of the workflow runs in my repositories. It got me thinking - what about an automatic cleanup? Would it make sense to write a workflow ... to delete old workflow runs on a regular basis? There's a sort of pleasant balance in there as well, in that eventually, the runs from these cleanup workflows would be themselves cleaned up too.
In case you're interested in the
dwr
script as it stands right now, you can find it here in my dotfiles.What do you think? Is it worth following this thought to an experimental cleanup workflow definition? What would that look like?