We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d5d6a4 commit 5a68ddcCopy full SHA for 5a68ddc
.github/workflows/delete-old-runs-automatically.yml
@@ -0,0 +1,18 @@
1
+name: Delete old workflow runs (automatically)
2
+on:
3
+ schedule:
4
+ - cron: '0 0 1 * *'
5
+jobs:
6
+ del_runs:
7
+ runs-on: ubuntu-latest
8
+ permissions:
9
+ actions: write
10
+ contents: read
11
+ steps:
12
+ - name: Delete workflow runs
13
+ uses: Mattraks/delete-workflow-runs@v2
14
+ with:
15
+ token: ${{ github.token }}
16
+ repository: ${{ github.repository }}
17
+ retain_days: 30
18
+ keep_minimum_runs: 6
.github/workflows/delete-old-runs.yml renamed to .github/workflows/delete-old-runs-manually.yml
@@ -1,4 +1,4 @@
-name: Delete old workflow runs
+name: Delete old workflow runs (manually)
on:
workflow_dispatch:
inputs:
0 commit comments