Skip to content

Commit

Permalink
Slette gamle workflow runs, hold bare på x antall (pr workflow) (#5332)
Browse files Browse the repository at this point in the history
  • Loading branch information
ingleivj authored Jul 5, 2024
1 parent 5c77701 commit 2d9d0f4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/vaktmesteren.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Vaktmesteren

on:
schedule:
- cron: "0 10 * * 6"
workflow_dispatch:

permissions:
packages: write

jobs:
prune_workflows:
name: "Slette gamle workflow runs"
runs-on: ubuntu-latest
steps:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
keep_minimum_runs: 30

0 comments on commit 2d9d0f4

Please sign in to comment.