diff --git a/.github/workflows/cleanup-cron-workflow-runs.yaml b/.github/workflows/cleanup-cron-workflow-runs.yaml index a98d4b0b..f420d6a5 100644 --- a/.github/workflows/cleanup-cron-workflow-runs.yaml +++ b/.github/workflows/cleanup-cron-workflow-runs.yaml @@ -1,7 +1,7 @@ name: Scheduled cleanup old workflow runs on: schedule: - - cron: '0 0 * * 0' + - cron: "0 0 * * 0" # At 00:00 on Sunday. jobs: @@ -11,9 +11,9 @@ jobs: actions: write steps: - name: Delete workflow runs - uses: Mattraks/delete-workflow-runs@v2.0.4 + uses: Mattraks/delete-workflow-runs@v2.0.6 with: token: ${{ github.token }} repository: ${{ github.repository }} retain_days: 15 - keep_minimum_runs: 10 \ No newline at end of file + keep_minimum_runs: 10 diff --git a/.github/workflows/cleanup-workflow-runs.yaml b/.github/workflows/cleanup-workflow-runs.yaml index 13987355..6928c987 100644 --- a/.github/workflows/cleanup-workflow-runs.yaml +++ b/.github/workflows/cleanup-workflow-runs.yaml @@ -3,11 +3,11 @@ on: workflow_dispatch: inputs: days: - description: 'Number of days.' + description: "Number of days." required: true default: 15 minimum_runs: - description: 'The minimum runs to keep for each workflow.' + description: "The minimum runs to keep for each workflow." required: true default: 10 jobs: @@ -17,7 +17,7 @@ jobs: actions: write steps: - name: Delete workflow runs - uses: Mattraks/delete-workflow-runs@v2.0.4 + uses: Mattraks/delete-workflow-runs@v2.0.6 with: token: ${{ github.token }} repository: ${{ github.repository }}