diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index c35a9896..3cde0942 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -2,7 +2,7 @@ name: Delete image artifacts on: workflow_run: - workflows: [CI] + workflows: [CI, Comment] types: - completed @@ -18,4 +18,4 @@ jobs: for ai in $(gh api /repos/${{ github.repository }}/actions/runs/$wri/artifacts | jq '.artifacts[] | select( .name | startswith("cvat")) | .id'); do gh api --method DELETE /repos/${{ github.repository }}/actions/artifacts/$ai - done \ No newline at end of file + done