From 72e2b10c58102d64308b300b7a41fdf1e53408f0 Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Sun, 25 Sep 2022 12:51:14 +0800 Subject: [PATCH] Update anti_spam.yml --- .github/workflows/anti_spam.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/anti_spam.yml b/.github/workflows/anti_spam.yml index 940fed0..841e9a9 100644 --- a/.github/workflows/anti_spam.yml +++ b/.github/workflows/anti_spam.yml @@ -23,3 +23,10 @@ jobs: do-not-autoclose pr-labels: spam pr-lock-reason: spam + - name: Delete workflow runs + uses: Mattraks/delete-workflow-runs@v2 + with: + token: ${{ github.token }} + repository: ${{ github.repository }} + retain_days: 0 + keep_minimum_runs: 0