From 3195e5492da03a5bdd4d4428b897fc6994724d75 Mon Sep 17 00:00:00 2001 From: yutao Date: Tue, 23 Apr 2024 17:53:05 +0800 Subject: [PATCH] chore: set -i for grep to ignore cases --- .github/workflows/issue-pr-trigger.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue-pr-trigger.yml b/.github/workflows/issue-pr-trigger.yml index 9bc49485db17..90a769b26549 100644 --- a/.github/workflows/issue-pr-trigger.yml +++ b/.github/workflows/issue-pr-trigger.yml @@ -20,7 +20,7 @@ jobs: run: | SENDER=${{ github.event.sender.login }} TEAMS_FILE="./.github/teams.yml" - if grep -q -- "\"@$SENDER\"" $TEAMS_FILE; then + if grep -qi -- "\"@$SENDER\"" $TEAMS_FILE; then echo "::set-output name=skip::true" echo "Workflow triggered by a project member: $SENDER , will NOT trigger lark notify" else