Skip to content

Commit

Permalink
chore: set -i for grep to ignore cases
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyutaotao committed Apr 23, 2024
1 parent 2999275 commit 3195e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/issue-pr-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3195e54

Please sign in to comment.