Remove image artifacts for Comment workflow (#69)

main
Kirill Sizov 4 years ago committed by GitHub
parent 36fdcea8d6
commit 3a87df7ff8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save