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 0876995 commit ff086e1Copy full SHA for ff086e1
.github/workflows/github-maintenance.yml
@@ -1,25 +1,17 @@
1
-name: Delete old workflow runs
+name: GitHub Maintenance
2
on:
3
workflow_dispatch:
4
schedule:
5
- - cron: "0 0 * * *"
+ - cron: '0 3 * * *' # Run daily at 03:00
6
7
jobs:
8
- delete_runs:
+ github_maintenance:
9
+ name: Execute Maintenance
10
runs-on: ubuntu-latest
11
+
12
permissions:
13
actions: write
14
15
steps:
- - name: Setup timezone
- run: |
16
- sudo timedatectl set-timezone Europe/Zurich
17
- timedatectl
18
-
19
- name: Delete workflow runs
20
- uses: Mattraks/delete-workflow-runs@v2
21
- with:
22
- token: ${{ github.token }}
23
- repository: ${{ github.repository }}
24
- retain_days: 30
25
- keep_minimum_runs: 7
+ uses: viascom/[email protected]
0 commit comments