Skip to content

Commit

Permalink
chore: rename delete.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Larvan2 committed Mar 30, 2023
1 parent 3c71709 commit 9b7aab1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/delete.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Delete old workflow runs
on:
schedule:
- cron: '0 0 1 * *'
# Run monthly, at 00:00 on the 1st day of month.

jobs:
del_runs:
runs-on: ubuntu-latest
steps:
- name: Delete workflow runs
uses: GitRML/delete-workflow-runs@main
with:
token: ${{ secrets.AUTH_PAT }}
repository: ${{ github.repository }}
retain_days: 30

0 comments on commit 9b7aab1

Please sign in to comment.