From 76ad619cf57e21d43f89ac7c8d04c991ebf3b5e5 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Tue, 5 Dec 2023 20:45:27 -0800 Subject: [PATCH] Fix conditional name --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 48bfcbb..d743fb9 100644 --- a/action.yml +++ b/action.yml @@ -62,7 +62,7 @@ runs: fi # Validate PR number - if [ ! "${pr}" =~ ^[0-9]+$ ]; then + if [[ ! "${pr}" =~ ^[0-9]+$ ]]; then echo "PR number format incorrect: ${pr}" exit 1 fi