This commit is contained in:
cvnertnc 2024-03-20 11:47:16 +03:00 committed by GitHub
parent aef647f53e
commit 06689c12a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 || :