Delete.yml 386 B

12345678910111213141516
  1. name: Delete old workflow runs
  2. on:
  3. schedule:
  4. - cron: '0 0 1 * *'
  5. # Run monthly, at 00:00 on the 1st day of month.
  6. jobs:
  7. del_runs:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Delete workflow runs
  11. uses: GitRML/delete-workflow-runs@main
  12. with:
  13. token: ${{ secrets.AUTH_PAT }}
  14. repository: ${{ github.repository }}
  15. retain_days: 30