From 32bfbca43f8b93262beb93a2e000c5f22e3d37c5 Mon Sep 17 00:00:00 2001 From: Igor Date: Thu, 26 Sep 2024 08:29:21 +0200 Subject: [PATCH] Clean dangling at start --- hetzner/action.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hetzner/action.yml b/hetzner/action.yml index 5bca5be..107e3a3 100644 --- a/hetzner/action.yml +++ b/hetzner/action.yml @@ -121,11 +121,3 @@ runs: -H "X-GitHub-Api-Version: 2022-11-28" \ "/repos/armbian/os/actions/runners?per_page=1000" | \ jq -r '.runners[] | select(.labels[].name=="temp")' | jq '.id') - - while IFS= read -r id; do - gh api --silent \ - --method DELETE \ - -H "Accept: application/vnd.github+json" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - /repos/armbian/os/actions/runners/${id} - done <<< $RUNNERS