fix: broken action

This commit is contained in:
Artemy Egorov 2024-08-05 20:46:02 +03:00 committed by GitHub
parent aefaa2626e
commit 7b3e67448c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,13 @@
name: Delete untagged packages
on: workflow_dispatch
on:
workflow_run:
workflows:
- build-check
- Create and publish a Docker image
- format-check
types:
-completed
jobs:
delete-untagged-packages:
@ -9,8 +16,6 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/delete-package-versions@v5
- uses: dataaxiom/ghcr-cleanup-action@v1
with:
package-name: 'txtdot'
package-type: 'container'
delete-only-untagged-versions: 'true'
token: ${{ secrets.GITHUB_TOKEN }}