github.com/metacubex/mihomo@v1.18.5/.github/workflows/Delete.yml (about)

     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  
     7  jobs:
     8    del_runs:
     9      runs-on: ubuntu-latest
    10      steps:
    11        - name: Delete workflow runs
    12          uses: GitRML/delete-workflow-runs@main
    13          with:
    14            token: ${{ secrets.AUTH_PAT }}
    15            repository: ${{ github.repository }}
    16            retain_days: 30