mirror of
https://github.com/sberk42/fritzbox_exporter.git
synced 2026-02-14 19:59:51 +00:00
added cleanup
This commit is contained in:
16
.github/workflows/cleanup-runs.yaml
vendored
Normal file
16
.github/workflows/cleanup-runs.yaml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Cleanup Runs
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
del_runs:
|
||||
permissions:
|
||||
actions: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Delete workflow runs
|
||||
uses: Mattraks/delete-workflow-runs@v2
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 7
|
||||
keep_minimum_runs: 4
|
||||
Reference in New Issue
Block a user