[go: up one dir, main page]

File: cleanup.yml

package info (click to toggle)
ucto 0.35-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,192 kB
  • sloc: cpp: 5,235; xml: 1,226; sh: 409; python: 151; makefile: 44
file content (20 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
name: Delete old workflow runs
on:
  schedule:
    - cron: '0 15 14 * *'
# Run monthly, at 15:00 on the 14t day of month. (testing)

jobs:
  del_runs:
    runs-on: ubuntu-latest
    permissions:
      actions: write
    steps:
      - name: Delete workflow runs
        uses: Mattraks/delete-workflow-runs@v2
        with:
          token: ${{ github.token }}
          repository: ${{ github.repository }}
          retain_days: 30
          keep_minimum_runs: 6