Files
miasma-os/docs/solarpowered-main/.github/workflows/cleanup.yml
2026-04-09 16:33:56 +10:00

24 lines
564 B
YAML

name: Clean up images
on:
schedule:
- cron: "00 0 * * 0"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
jobs:
delete-older-than-30:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Clean up images more than 30 days
uses: dataaxiom/ghcr-cleanup-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
packages: solarpowered,solarpowered-ex
older-than: 30 days
delete-untagged: true
# dry-run: true