diff --git a/.github/workflows/PR-Demo-Comment-with-react.yml b/.github/workflows/PR-Demo-Comment-with-react.yml index a729c50bc..8850981bb 100644 --- a/.github/workflows/PR-Demo-Comment-with-react.yml +++ b/.github/workflows/PR-Demo-Comment-with-react.yml @@ -108,7 +108,7 @@ jobs: echo "pro flags detected in comment" echo "enable_pro=true" >> $GITHUB_OUTPUT echo "enable_enterprise=false" >> $GITHUB_OUTPUT - elif [[ "$COMMENT_BODY" == *"enterprise"* ]] || [[ "$COMMENT_BODY" == *"enterprise"* ]]; then + elif [[ "$COMMENT_BODY" == *"enterprise"* ]]; then echo "enterprise flags detected in comment" echo "enable_enterprise=true" >> $GITHUB_OUTPUT echo "enable_pro=false" >> $GITHUB_OUTPUT