Skip to content

cleanup

cleanup #2902

Workflow file for this run

name: cleanup
on:
workflow_dispatch:
schedule:
- cron: "*/5 * * * *" # Runs At every 5th minute.
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 }}