From 46bcd5a8e147fd979c1d039e90e15d036c3cb5eb Mon Sep 17 00:00:00 2001 From: Juraj Nyiri Date: Tue, 17 Dec 2024 11:33:40 +0100 Subject: [PATCH] Make the filter a bit more strict --- .github/workflows/issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index 0fa2cac..aa8bd7e 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -18,7 +18,7 @@ jobs: - name: Check issue description for invalid string id: check_body run: | - if [[ "${{ github.event.issue.body }}" == *"cloud password"* ]]; then + if [[ "${{ github.event.issue.body }}" == *"Invalid cloud password"* ]]; then echo "contains_invalid_string=true" >> $GITHUB_ENV elif [[ "${{ github.event.issue.body }}" == *"Invalid authentication data. Make sure you have created your 3rd party account via Tapo app."* ]]; then echo "contains_invalid_string=true" >> $GITHUB_ENV