@ -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