From 5ef390a4caa0d85441cc820d7a2ed17a3ed00fc5 Mon Sep 17 00:00:00 2001 From: Gleb Sizov Date: Wed, 14 Aug 2024 15:30:33 +0200 Subject: [PATCH] fixed run on schedule --- .github/scripts/delete-old-cloudsmith-artifacts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/delete-old-cloudsmith-artifacts.sh b/.github/scripts/delete-old-cloudsmith-artifacts.sh index e870f6eda846..ce82eace8c49 100755 --- a/.github/scripts/delete-old-cloudsmith-artifacts.sh +++ b/.github/scripts/delete-old-cloudsmith-artifacts.sh @@ -30,7 +30,7 @@ done echo "Deleting the following RPMs:" cat $RPMS_TO_DELETE -if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then +if [ "$GITHUB_EVENT_NAME" == "schedule" ]; then for RPMID in $(cat $RPMS_TO_DELETE); do curl -sLf -X DELETE \ --header "X-Api-Key: $CLOUDSMITH_API_TOKEN" \