summaryrefslogtreecommitdiff
path: root/.github/workflows/clean-artifacts.yml
blob: 69cb74ae52262a026bec8c33e79f36f3a1625cf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: Clean Artifacts
on:
  schedule:
    # Once a day
    - cron: "0 0 * * *"
  workflow_dispatch:
jobs:
  remove-old-artifacts:
    runs-on: ubuntu-latest
    timeout-minutes: 10
    steps:
      - name: Remove old artifacts
        uses: c-hive/gha-remove-artifacts@44fc7acaf1b3d0987da0e8d4707a989d80e9554b # v1.4.0
        with:
          age: "1 week"
          skip-tags: true
          skip-recent: 5