From 06689c12a2980cef01f2f13555cd63cc31e97f2e Mon Sep 17 00:00:00 2001 From: cvnertnc <148134890+cvnertnc@users.noreply.github.com> Date: Wed, 20 Mar 2024 11:47:16 +0300 Subject: [PATCH] `test` --- .github/workflows/verify.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 56e7f81e3..e76438405 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -65,3 +65,8 @@ jobs: with: name: earelease path: artifacts/ + - name: Clear older runs + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh run list -L400 --json databaseId -q '.[].databaseId' | tail -n+10 | xargs -IID gh api "repos/$GITHUB_REPOSITORY/actions/runs/ID" -X DELETE || : \ No newline at end of file