Skip to content

Commit

Permalink
Korrigert ryddejobb (#5336)
Browse files Browse the repository at this point in the history
  • Loading branch information
ingleivj authored Jul 5, 2024
1 parent c6b05c2 commit 7418566
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/vaktmesteren.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,25 @@ on:
schedule:
- cron: "0 10 * * 6"
workflow_dispatch:

permissions:
packages: write
inputs:
dry_run:
description: 'Logger simulerte endringer, utfører ingen sletting'
required: false

jobs:
prune_workflows:
name: "Slette gamle workflow runs"
runs-on: ubuntu-latest
permissions:
actions: write
contents: read
steps:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 30
keep_minimum_runs: 30
dry_run: ${{ github.event.inputs.dry_run }}
#delete_workflow_pattern: etterlatte-behandling

0 comments on commit 7418566

Please sign in to comment.