Skip to content

cleanup

cleanup #2240

Workflow file for this run

name: cleanup
on:
workflow_dispatch:
schedule:
- cron: "0 * * * *" # Runs hourly.
permissions:
packages: write
jobs:
cleanup:
runs-on: ubuntu-latest
continue-on-error: false
strategy:
fail-fast: false
matrix:
type:
# - 'docker'
- 'container'
name:
- 'php'
steps:
- uses: actions/delete-package-versions@v5
with:
delete-only-untagged-versions: 'true'
min-versions-to-keep: 15
package-name: ${{ matrix.name }}
package-type: ${{ matrix.type }}
token: ${{ secrets.GHT }}