2024-07-24 12:10:27 +03:00
|
|
|
name: Delete untagged packages
|
|
|
|
|
2024-08-05 20:46:02 +03:00
|
|
|
on:
|
|
|
|
workflow_run:
|
|
|
|
workflows:
|
|
|
|
- build-check
|
|
|
|
- Create and publish a Docker image
|
|
|
|
- format-check
|
|
|
|
types:
|
|
|
|
-completed
|
2024-07-24 12:10:27 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
delete-untagged-packages:
|
|
|
|
runs-on: ubuntu-latest
|
2024-07-24 12:29:24 +03:00
|
|
|
permissions:
|
2024-07-24 12:34:33 +03:00
|
|
|
contents: read
|
2024-07-24 12:45:42 +03:00
|
|
|
packages: write
|
2024-07-24 12:10:27 +03:00
|
|
|
steps:
|
2024-08-05 20:46:02 +03:00
|
|
|
- uses: dataaxiom/ghcr-cleanup-action@v1
|
2024-07-25 19:01:33 +03:00
|
|
|
with:
|
2024-08-05 20:46:02 +03:00
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|