mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
chore: delete skipped workflow runs of pr-deploy.yaml
(#8225)
This commit is contained in:
committed by
GitHub
parent
b83cdfe428
commit
9cefd46bcf
12
.github/workflows/stale.yaml
vendored
12
.github/workflows/stale.yaml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
del_runs:
|
del_runs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Delete workflow runs
|
- name: Delete PR Cleanup workflow runs
|
||||||
uses: Mattraks/delete-workflow-runs@v2
|
uses: Mattraks/delete-workflow-runs@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
@ -54,3 +54,13 @@ jobs:
|
|||||||
retain_days: 1
|
retain_days: 1
|
||||||
keep_minimum_runs: 1
|
keep_minimum_runs: 1
|
||||||
delete_workflow_pattern: pr-cleanup.yaml
|
delete_workflow_pattern: pr-cleanup.yaml
|
||||||
|
|
||||||
|
- name: Delete PR Deploy workflow skipped runs
|
||||||
|
uses: Mattraks/delete-workflow-runs@v2
|
||||||
|
with:
|
||||||
|
token: ${{ github.token }}
|
||||||
|
repository: ${{ github.repository }}
|
||||||
|
retain_days: 0
|
||||||
|
keep_minimum_runs: 0
|
||||||
|
delete_run_by_conclusion_pattern: skipped
|
||||||
|
delete_workflow_pattern: pr-deploy.yaml
|
||||||
|
Reference in New Issue
Block a user