Skip to content

.github/workflows/remove-artifacts.yml #1246

.github/workflows/remove-artifacts.yml

.github/workflows/remove-artifacts.yml #1246

name: Remove old artifacts
on:
push:
branches: [main]
schedule:
# Every day at 1am
- cron: "0 * * * *"
jobs:
remove-old-artifacts:
runs-on: ubuntu-latest
steps:
- name: Remove artifacts
uses: c-hive/[email protected]
with:
age: "5 minutes"
# Optional inputs
# skip-tags: true
# skip-recent: 5