chore: limit history to the last 30 runs/days for PR deploy and cleanup workflows (#10406)

This commit is contained in:
Muhammad Atif Ali 2023-10-27 14:15:21 +03:00 committed by GitHub
parent 6ae8bfed94
commit 51aa32cfcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -52,8 +52,8 @@ jobs:
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 1
keep_minimum_runs: 1
retain_days: 30
keep_minimum_runs: 30
delete_workflow_pattern: pr-cleanup.yaml
- name: Delete PR Deploy workflow skipped runs
@ -61,7 +61,6 @@ jobs:
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 0
keep_minimum_runs: 0
delete_run_by_conclusion_pattern: skipped
retain_days: 30
keep_minimum_runs: 30
delete_workflow_pattern: pr-deploy.yaml