Skip to content

Commit c82ad4d

Browse files
committed
automatically delete old workflow runs
1 parent 4b63c10 commit c82ad4d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Delete old workflow runs
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 0 * * *"
7+
8+
jobs:
9+
delete-old-actions:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: yanovation/delete-old-actions@v1
14+
with:
15+
token: ${{ secrets.GITHUB_TOKEN }}
16+
days-ago: 1
17+
keep-latest: 5

0 commit comments

Comments
 (0)