dev: add workflow delete untagged packages
This commit is contained in:
parent
f4c79b93f1
commit
8b4a73298f
20
.github/workflows/delete-packages.yml
vendored
Normal file
20
.github/workflows/delete-packages.yml
vendored
Normal 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'
|
Loading…
x
Reference in New Issue
Block a user