From 6e45ca5154aed20c008c6c8f282bc852562e2ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Till=20Kr=C3=BCss?= Date: Sat, 21 Jan 2023 13:17:31 -0800 Subject: [PATCH] Create README.md --- .github/workflows/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/workflows/README.md 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/% +```