mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-03 04:02:49 +08:00
update issue template
Former-commit-id: aa8d0a223b0345e1f665b6703678c0ce526ff950
This commit is contained in:
parent
b777fed171
commit
b395540826
15
.github/ISSUE_TEMPLATE/1-bug-report.yml
vendored
15
.github/ISSUE_TEMPLATE/1-bug-report.yml
vendored
@ -1,22 +1,29 @@
|
|||||||
name: "\U0001F41B Bug / help"
|
name: "\U0001F41B Bug / help"
|
||||||
description: Create a report to help us improve the LLaMA Factory
|
description: Create a report to help us improve the LLaMA Factory
|
||||||
|
labels: ["bug", "pending"]
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Issues included in **[FAQs](https://github.com/hiyouga/LLaMA-Factory/issues/4614)** or those with **insufficient** information may be closed without a response.
|
Issues included in **[FAQs](https://github.com/hiyouga/LLaMA-Factory/issues/4614)** or those with **insufficient** information may be closed without a response.
|
||||||
包含在 **[常见问题](https://github.com/hiyouga/LLaMA-Factory/issues/4614)** 内或提供信息**不完整**的 issues 可能不会被回复。
|
已经包含在 **[常见问题](https://github.com/hiyouga/LLaMA-Factory/issues/4614)** 内或提供信息**不完整**的 issues 可能不会被回复。
|
||||||
|
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Please do not create issues that are not related to framework bugs under this category, use **[Discussions](https://github.com/hiyouga/LLaMA-Factory/discussions/categories/q-a)** instead.
|
||||||
|
请勿在此分类下创建和框架 bug 无关的 issues,请使用 **[讨论区](https://github.com/hiyouga/LLaMA-Factory/discussions/categories/q-a)**。
|
||||||
|
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
id: reminder
|
id: reminder
|
||||||
attributes:
|
attributes:
|
||||||
label: Reminder
|
label: Reminder
|
||||||
description: |
|
description: |
|
||||||
Please ensure you have read the README carefully and searched the existing issues (including FAQs).
|
Please ensure you have read the above rules carefully and searched the existing issues (including FAQs).
|
||||||
请确保您已经认真阅读了 README 并且搜索过现有的 issues(包括常见问题)。
|
请确保您已经认真阅读了上述规则并且搜索过现有的 issues(包括常见问题)。
|
||||||
|
|
||||||
options:
|
options:
|
||||||
- label: I have read the README and searched the existing issues.
|
- label: I have read the above rules and searched the existing issues.
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
20
.github/ISSUE_TEMPLATE/2-feature-request.yml
vendored
20
.github/ISSUE_TEMPLATE/2-feature-request.yml
vendored
@ -1,7 +1,25 @@
|
|||||||
name: "\U0001F680 Feature request"
|
name: "\U0001F680 Feature request"
|
||||||
description: Submit a request for a new feature
|
description: Submit a request for a new feature
|
||||||
labels: ["enhancement"]
|
labels: ["enhancement", "pending"]
|
||||||
body:
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Please do not create issues that are not related to new features under this category.
|
||||||
|
请勿在此分类下创建和新特性无关的 issues。
|
||||||
|
|
||||||
|
- type: checkboxes
|
||||||
|
id: reminder
|
||||||
|
attributes:
|
||||||
|
label: Reminder
|
||||||
|
description: |
|
||||||
|
Please ensure you have read the above rules carefully and searched the existing issues.
|
||||||
|
请确保您已经认真阅读了上述规则并且搜索过现有的 issues。
|
||||||
|
|
||||||
|
options:
|
||||||
|
- label: I have read the above rules and searched the existing issues.
|
||||||
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: description
|
id: description
|
||||||
validations:
|
validations:
|
||||||
|
6
.github/workflows/label_issue.yml
vendored
6
.github/workflows/label_issue.yml
vendored
@ -18,13 +18,15 @@ jobs:
|
|||||||
ISSUE_URL: ${{ github.event.issue.html_url }}
|
ISSUE_URL: ${{ github.event.issue.html_url }}
|
||||||
ISSUE_TITLE: ${{ github.event.issue.title }}
|
ISSUE_TITLE: ${{ github.event.issue.title }}
|
||||||
run: |
|
run: |
|
||||||
LABEL=pending
|
LABEL=""
|
||||||
NPU_KEYWORDS=(npu huawei ascend 华为 昇腾)
|
NPU_KEYWORDS=(npu huawei ascend 华为 昇腾)
|
||||||
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
|
||||||
LABEL=pending,npu
|
LABEL="npu"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if [ -n "$LABEL" ]; then
|
||||||
gh issue edit $ISSUE_URL --add-label $LABEL
|
gh issue edit $ISSUE_URL --add-label $LABEL
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user