From 69fbffb69ab9171eb9a84d23754f4181b5ad6d19 Mon Sep 17 00:00:00 2001 From: Olivier Garaud Date: Mon, 23 Oct 2023 18:37:27 +0200 Subject: [PATCH] delay-job-completion: fix help message --- action-delay-job-completion/action.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/action-delay-job-completion/action.yaml b/action-delay-job-completion/action.yaml index 6d2a39c..56efc18 100644 --- a/action-delay-job-completion/action.yaml +++ b/action-delay-job-completion/action.yaml @@ -22,9 +22,6 @@ runs: EOF ) echo "::notice title=Delay workflow completion::${MESSAGE}" - Delete the file '$GITHUB_WORKSPACE/timeout_date' to cancel. - You can update that file with: - date '+%s' --date='now + minutes' > $GITHUB_WORKSPACE/timeout_date to change the delay." date '+%s' --date='now + ${{ inputs.completion_delay_m }} minutes' > $GITHUB_WORKSPACE/timeout_date while [ $(date '+%s') -lt $(cat $GITHUB_WORKSPACE/timeout_date 2>/dev/null || echo 0) ] && [[ -f /tmp/tmate.pid ]] && ps --pid $(cat /tmp/tmate.pid) &>/dev/null ;