dev: add workflow delete untagged packages

This commit is contained in:
Artemy Egorov 2024-07-24 12:10:27 +03:00 committed by GitHub
parent f4c79b93f1
commit 8b4a73298f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

20
.github/workflows/delete-packages.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Delete untagged packages
on:
workflow_run:
workflows:
- build-check
- Create and publish a Docker image
- format-check
types:
- completed
jobs:
delete-untagged-packages:
runs-on: ubuntu-latest
steps:
- uses: actions/delete-package-versions@v5
with:
package-name: 'txtdot'
package-type: 'container'
delete-only-untagged-versions: 'true'