Update label_issue.yml

Former-commit-id: 80d1910a93213b18c94e122b7e48cba0a20fd4e6
This commit is contained in:
hoshi-hiyouga 2024-06-24 22:01:23 +08:00 committed by GitHub
parent 1a0758b0a1
commit 78baa8a509

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