diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 612a14814..83d791d26 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -61,7 +61,7 @@ jobs: echo -e "Last merged PR: ${PR_NO}" # Validate PR number and send to GitHub Output - if [ "${PR_NO}" =~ ^[0-9]+$ ]; then + if [[ "${PR_NO}" =~ ^[0-9]+$ ]]; then echo "No PR number not found" exit 1 fi