We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8a717f commit 72204b8Copy full SHA for 72204b8
.github/workflows/cleanup-self-hosted-runners.yml
@@ -43,7 +43,7 @@ jobs:
43
vm_name=$(echo $active_vm | jq '.name')
44
vm_creation_iso_string=$(echo $active_vm | jq -r '.timeCreated')
45
vm_creation_time=$(date -d $vm_creation_iso_string +%s)
46
-
+
47
if [ "$one_hour_ago" -lt "$vm_creation_time" ]; then
48
echo "The VM ${vm_name} was created less then 3 hours ago and shouldn't be deleted yet. Skipping."
49
elif test true = "$(gh api repos/$GITHUB_REPOSITORY/actions/runners \
0 commit comments