Skip to content

Commit 51aa32c

Browse files
authored
chore: limit history to the last 30 runs/days for PR deploy and cleanup workflows (#10406)
1 parent 6ae8bfe commit 51aa32c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/stale.yaml

+4-5
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,15 @@ jobs:
5252
with:
5353
token: ${{ github.token }}
5454
repository: ${{ github.repository }}
55-
retain_days: 1
56-
keep_minimum_runs: 1
55+
retain_days: 30
56+
keep_minimum_runs: 30
5757
delete_workflow_pattern: pr-cleanup.yaml
5858

5959
- name: Delete PR Deploy workflow skipped runs
6060
uses: Mattraks/delete-workflow-runs@v2
6161
with:
6262
token: ${{ github.token }}
6363
repository: ${{ github.repository }}
64-
retain_days: 0
65-
keep_minimum_runs: 0
66-
delete_run_by_conclusion_pattern: skipped
64+
retain_days: 30
65+
keep_minimum_runs: 30
6766
delete_workflow_pattern: pr-deploy.yaml

0 commit comments

Comments
 (0)