From 54696d4599dc8a89309b389f5f342d3771dc710a Mon Sep 17 00:00:00 2001 From: Peter Nied Date: Tue, 17 Oct 2023 09:39:13 -0500 Subject: [PATCH] declartion of approvals count Signed-off-by: Peter Nied --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index c40ae2d..7e03a58 100644 --- a/action.yml +++ b/action.yml @@ -38,7 +38,7 @@ runs: if: ${{ inputs.mock-approvers }} - run: | - approvals_count=0 + declare -i approvals_count=0 maintainers_padded=" ${{ inputs.maintainers }} " # Padding before and after for substring safety check below maintainer_approvals="" for user in $approvers; do