diff --git a/.github/workflows/README.md b/.github/workflows/README.md new file mode 100644 index 00000000..6502cf13 --- /dev/null +++ b/.github/workflows/README.md @@ -0,0 +1,9 @@ +# Workflows + +## Delete runs by workflow name + +```bash +gh run list --workflow 'redis-server-tests.yml' --limit 1000 --json databaseId \ + | jq '.[].databaseId' \ + | xargs -I % gh api --silent -X DELETE /repos/predis/predis/actions/runs/% +```