diff --git a/.github/workflows/makecfg-r68s-im.yml b/.github/workflows/makecfg-r68s-im.yml index 30e9152..5e6ad22 100644 --- a/.github/workflows/makecfg-r68s-im.yml +++ b/.github/workflows/makecfg-r68s-im.yml @@ -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 diff --git a/.github/workflows/makecfg-r68s.yml b/.github/workflows/makecfg-r68s.yml index 86eee77..eb4bd27 100644 --- a/.github/workflows/makecfg-r68s.yml +++ b/.github/workflows/makecfg-r68s.yml @@ -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 diff --git a/.github/workflows/makecfg-x86-im.yml b/.github/workflows/makecfg-x86-im.yml index 342fe88..946b21b 100644 --- a/.github/workflows/makecfg-x86-im.yml +++ b/.github/workflows/makecfg-x86-im.yml @@ -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 diff --git a/.github/workflows/makecfg-x86.yml b/.github/workflows/makecfg-x86.yml index e51a0d3..2ccdf5c 100644 --- a/.github/workflows/makecfg-x86.yml +++ b/.github/workflows/makecfg-x86.yml @@ -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 diff --git a/.github/workflows/makecfg-xy-im.yml b/.github/workflows/makecfg-xy-im.yml index 2aa9f81..58cc369 100644 --- a/.github/workflows/makecfg-xy-im.yml +++ b/.github/workflows/makecfg-xy-im.yml @@ -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 diff --git a/.github/workflows/makecfg-xy.yml b/.github/workflows/makecfg-xy.yml index 945045e..64dfb15 100644 --- a/.github/workflows/makecfg-xy.yml +++ b/.github/workflows/makecfg-xy.yml @@ -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 diff --git a/.github/workflows/openwrt-r68s-im.yml b/.github/workflows/openwrt-r68s-im.yml index 2710e6a..8204f55 100644 --- a/.github/workflows/openwrt-r68s-im.yml +++ b/.github/workflows/openwrt-r68s-im.yml @@ -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/delete-older-releases@v0.3.4 diff --git a/.github/workflows/openwrt-r68s.yml b/.github/workflows/openwrt-r68s.yml index a6b7b38..f88a916 100644 --- a/.github/workflows/openwrt-r68s.yml +++ b/.github/workflows/openwrt-r68s.yml @@ -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/delete-older-releases@v0.3.4 diff --git a/.github/workflows/openwrt-x86-im.yml b/.github/workflows/openwrt-x86-im.yml index 3a34c20..7e00ca8 100644 --- a/.github/workflows/openwrt-x86-im.yml +++ b/.github/workflows/openwrt-x86-im.yml @@ -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/delete-older-releases@v0.3.4 diff --git a/.github/workflows/openwrt-x86.yml b/.github/workflows/openwrt-x86.yml index 9383aa9..6cd02e1 100644 --- a/.github/workflows/openwrt-x86.yml +++ b/.github/workflows/openwrt-x86.yml @@ -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/delete-older-releases@v0.2.1 diff --git a/.github/workflows/openwrt-xy-im.yml b/.github/workflows/openwrt-xy-im.yml index 9e97d3b..eea6bac 100644 --- a/.github/workflows/openwrt-xy-im.yml +++ b/.github/workflows/openwrt-xy-im.yml @@ -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/delete-older-releases@v0.2.1 diff --git a/.github/workflows/openwrt-xy.yml b/.github/workflows/openwrt-xy.yml index 6b6c8bf..daf04d1 100644 --- a/.github/workflows/openwrt-xy.yml +++ b/.github/workflows/openwrt-xy.yml @@ -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/delete-older-releases@v0.1.0