On your repository page, go to the Actions tab, then open the DevTools console and run the code below:
document.querySelectorAll('div#partial-actions-workflow-runs a.Link--primary').forEach(async a => {
const url = a.href;
console.log(url);
const response = await fetch(url + '/delete', {
headers: {
'Accept': 'text/html',