Skip to content

Commit acb0c64

Browse files
author
liw003
committed
bd
1 parent a53d90c commit acb0c64

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/pages.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@ concurrency:
2121
cancel-in-progress: true
2222

2323
jobs:
24+
del_runs:
25+
needs: build
26+
runs-on: ubuntu-latest
27+
permissions:
28+
actions: write
29+
contents: read
30+
steps:
31+
- name: Delete workflow runs for current repo
32+
uses: Mattraks/delete-workflow-runs@v2
33+
with:
34+
token: ${{ secrets.GITHUB_TOKEN }}
35+
repository: ${{ github.repository }}
36+
retain_days: 14
37+
keep_minimum_runs: 2
2438
build:
2539

2640
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)