From 858a93f886f8a09f9d7347e95bf73c4e5441890e Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Tue, 22 Apr 2025 13:30:27 +0200 Subject: [PATCH] build: don't kill ssh sessions on checkout failure (#46708) --- .github/actions/checkout/action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/actions/checkout/action.yml b/.github/actions/checkout/action.yml index a9fcd9002228..205eefde2581 100644 --- a/.github/actions/checkout/action.yml +++ b/.github/actions/checkout/action.yml @@ -179,3 +179,11 @@ runs: else echo "Cache key persisted in $final_cache_path" fi + - name: Wait for active SSH sessions + shell: bash + if: always() && !cancelled() + run: | + while [ -f /var/.ssh-lock ] + do + sleep 60 + done