Delete Old Packages #596
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Delete Old Packages" | |
on: | |
schedule: | |
- cron: "50 1 * * *" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
delete-old-docker: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Prune kumomta | |
uses: actions/delete-package-versions@v5 | |
with: | |
package-name: kumomta | |
min-versions-to-keep: 5 | |
delete-only-untagged-versions: true | |
package-type: container |