diff --git a/.github/workflows/clear-untagged-packages.yml b/.github/workflows/clear-untagged-packages.yml new file mode 100644 index 0000000000..5f94d54bcb --- /dev/null +++ b/.github/workflows/clear-untagged-packages.yml @@ -0,0 +1,18 @@ +name: Remove old package versions + +on: + workflow_dispatch: + +jobs: + remove-package-versions: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/delete-package-versions@v4 + with: + package-name: sharkey + package-type: container + min-versions-to-keep: 10 + delete-only-untagged-versions: 'true'