Closed macb500 closed 5 months ago
Remove old workflow runs using Powershell:
-- Get all the workflows
gh api -X GET /repos/uoy-trials/library-redcap-api/actions/runs
save runs to delete, id here is specific to the "Publish nuget package.." workflow
$legacyRuns = gh api -X GET /repos/uoy-trials/library-redcap-api/actions/workflows/77110303/runs | jq '.workflow_runs[] | .id'
delete em
foreach ($run in $legacyRuns) { gh api -X DELETE /repos/uoy-trials/library-redcap-api/actions/runs/$run }
clean as a whistle (are whistles clean?)
https://github.com/uoy-trials/library-redcap-api/actions