From 3a87df7ff88a4dd4e18d8d29505d3a84c5807636 Mon Sep 17 00:00:00 2001 From: Kirill Sizov Date: Thu, 28 Jul 2022 21:28:44 +0300 Subject: [PATCH] Remove image artifacts for Comment workflow (#69) --- .github/workflows/cleanup.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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