diff --git a/.github/workflows/Delete.yml b/.github/workflows/Delete.yml deleted file mode 100644 index 31f4a265..00000000 --- a/.github/workflows/Delete.yml +++ /dev/null @@ -1,16 +0,0 @@ -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 \ No newline at end of file diff --git a/.github/workflows/delete.yml b/.github/workflows/delete.yml index 31f4a265..d14c87cc 100644 --- a/.github/workflows/delete.yml +++ b/.github/workflows/delete.yml @@ -1,8 +1,7 @@ name: Delete old workflow runs on: schedule: - - cron: '0 0 1 * *' -# Run monthly, at 00:00 on the 1st day of month. + - cron: "0 0 * * SUN" jobs: del_runs: