Skip to content

Commit

Permalink
调整 delete workflow runs 参数
Browse files Browse the repository at this point in the history
  • Loading branch information
lwb1978 committed Dec 13, 2024
1 parent 0446c30 commit 1de801f
Show file tree
Hide file tree
Showing 12 changed files with 51 additions and 29 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/makecfg-r68s-im.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,7 @@ jobs:
- name: 删除旧的 workflow 运行记录
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 30
keep_minimum_runs: 3
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 1
6 changes: 4 additions & 2 deletions .github/workflows/makecfg-r68s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,7 @@ jobs:
- name: 删除旧的 workflow 运行记录
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 1
keep_minimum_runs: 5
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 1
6 changes: 4 additions & 2 deletions .github/workflows/makecfg-x86-im.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,7 @@ jobs:
- name: 删除旧的 workflow 运行记录
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 30
keep_minimum_runs: 3
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 1
6 changes: 4 additions & 2 deletions .github/workflows/makecfg-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,7 @@ jobs:
- name: 删除旧的 workflow 运行记录
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 1
keep_minimum_runs: 5
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 1
8 changes: 5 additions & 3 deletions .github/workflows/makecfg-xy-im.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ jobs:
include-hidden-files: true

- name: 删除旧的 workflow 运行记录
uses: GitRML/delete-workflow-runs@main
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 1
keep_minimum_runs: 5
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 1
8 changes: 5 additions & 3 deletions .github/workflows/makecfg-xy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ jobs:
include-hidden-files: true

- name: 删除旧的 workflow 运行记录
uses: GitRML/delete-workflow-runs@main
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 1
keep_minimum_runs: 5
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 1
6 changes: 4 additions & 2 deletions .github/workflows/openwrt-r68s-im.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,10 @@ jobs:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 30
keep_minimum_runs: 3
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 1

- name: Remove old Releases
uses: dev-drprasad/[email protected]
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/openwrt-r68s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,10 @@ jobs:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 30
keep_minimum_runs: 3
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 1

- name: Remove old Releases
uses: dev-drprasad/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/openwrt-x86-im.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ jobs:
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 30
keep_minimum_runs: 6
retain_days: 7
keep_minimum_runs: 1

- name: Remove old Releases
uses: dev-drprasad/[email protected]
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/openwrt-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,12 @@ jobs:
# skip-recent: 5

- name: Delete workflow runs
uses: GitRML/delete-workflow-runs@main
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 1
keep_minimum_runs: 3
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 1

- name: Remove old Releases
uses: dev-drprasad/[email protected]
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/openwrt-xy-im.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,12 @@ jobs:
# skip-recent: 5

- name: Delete workflow runs
uses: GitRML/delete-workflow-runs@main
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 1
keep_minimum_runs: 3
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 1

- name: Remove old Releases
uses: dev-drprasad/[email protected]
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/openwrt-xy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,12 @@ jobs:


- name: Delete workflow runs
uses: GitRML/delete-workflow-runs@main
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 1
keep_minimum_runs: 5
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 1

- name: Remove old Releases
uses: dev-drprasad/[email protected]
Expand Down

0 comments on commit 1de801f

Please sign in to comment.