Created
October 13, 2021 04:16
-
-
Save michaelsanford/155db092767d5373ba8bce7ea98f4783 to your computer and use it in GitHub Desktop.
Revisions
-
michaelsanford created this gist
Oct 13, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ $user = "your user/org" $repo = "repo" (gh api repos/$user/$repo/actions/runs | ConvertFrom-Json).workflow_runs | %{ $_.id } | %{ gh api repos/$user/$repo/actions/runs/$_ -X DELETE }