Skip to content

Commit 9cefd46

Browse files
authored
chore: delete skipped workflow runs of pr-deploy.yaml (coder#8225)
1 parent b83cdfe commit 9cefd46

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/stale.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,21 @@ jobs:
4646
del_runs:
4747
runs-on: ubuntu-latest
4848
steps:
49-
- name: Delete workflow runs
49+
- name: Delete PR Cleanup workflow runs
5050
uses: Mattraks/delete-workflow-runs@v2
5151
with:
5252
token: ${{ github.token }}
5353
repository: ${{ github.repository }}
5454
retain_days: 1
5555
keep_minimum_runs: 1
5656
delete_workflow_pattern: pr-cleanup.yaml
57+
58+
- name: Delete PR Deploy workflow skipped runs
59+
uses: Mattraks/delete-workflow-runs@v2
60+
with:
61+
token: ${{ github.token }}
62+
repository: ${{ github.repository }}
63+
retain_days: 0
64+
keep_minimum_runs: 0
65+
delete_run_by_conclusion_pattern: skipped
66+
delete_workflow_pattern: pr-deploy.yaml

0 commit comments

Comments
 (0)