Update label_issue.yml
This commit is contained in:
parent
1771251ce3
commit
fc2c15d713
|
@ -16,7 +16,7 @@ jobs:
|
||||||
ISSUE_TITLE: ${{ github.event.issue.title }}
|
ISSUE_TITLE: ${{ github.event.issue.title }}
|
||||||
run: |
|
run: |
|
||||||
LABEL=pending
|
LABEL=pending
|
||||||
NPU_KEYWORDS=(npu ascend 昇腾)
|
NPU_KEYWORDS=(npu ascend huawei 华为 昇腾)
|
||||||
ISSUE_TITLE_LOWER=$(echo $ISSUE_TITLE | tr '[:upper:]' '[:lower:]')
|
ISSUE_TITLE_LOWER=$(echo $ISSUE_TITLE | tr '[:upper:]' '[:lower:]')
|
||||||
for KEYWORD in ${NPU_KEYWORDS[@]}; do
|
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
|
||||||
|
|
Loading…
Reference in New Issue