Update label_issue.yml

Former-commit-id: dc2f7998b4ae9d7223c7c16732d835cea2a28713
This commit is contained in:
hoshi-hiyouga 2024-06-24 22:01:23 +08:00 committed by GitHub
parent 6b738d1c89
commit a4f2d5aa6f

View File

@ -19,7 +19,7 @@ jobs:
NPU_KEYWORDS=(npu ascend 昇腾)
ISSUE_TITLE_LOWER=$(echo $ISSUE_TITLE | tr '[:upper:]' '[:lower:]')
for KEYWORD in ${NPU_KEYWORDS[@]}; do
if [[ $ISSUE_TITLE_LOWER == *$KEYWORD* ]] && [[ $ISSUE_TITLE_LOWER != *input* ]] then
if [[ $ISSUE_TITLE_LOWER == *$KEYWORD* ]] && [[ $ISSUE_TITLE_LOWER != *input* ]]; then
LABEL=pending,npu
break
fi