Skip to content

Commit

Permalink
chore: update issue template & fix ci config
Browse files Browse the repository at this point in the history
Signed-off-by: Shengqi Chen <[email protected]>
  • Loading branch information
Harry-Chen committed Mar 21, 2024
1 parent 19a3079 commit 4d3ee01
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
19 changes: 13 additions & 6 deletions .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
name: Bug Report / Feature Request
description: 报告模板中的问题或者请求实现更多功能
description: 报告模板中的问题或者请求实现更多功能

body:
- type: markdown
- type: checkboxes
id: checklist
attributes:
value: |
请确保你已经搜索了已有的 issues 和 discussion,以确保没有重复提交。
请不要在此处询问如何使用模板,而是在 GitHub Discussions 中提出。
label: 提交前检查
description: 请确保你提交的问题符合以下的要求。
options:
- label: 我已经充分阅读了模板文档。
required: true
- label: 我的问题并非关于模板的用法(否则请前往 discussions 提出)。
required: true
- label: 我已经搜索了已有的 issues 和 discussion,确认没有重复提交。
required: true

- type: input
id: system
Expand Down Expand Up @@ -41,7 +48,7 @@ body:
attributes:
label: 版本
description: 使用的模板版本(可打开 `thuthesis.cls` 搜索 `\ProvidesClass` 查看)
placeholder: v7.4.0
placeholder: '7.4.0'
validations:
required: true

Expand Down
7 changes: 5 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
blank_issues_enabled: false
blank_issues_enabled: true
contact_links:
- name: 模板文档
url: http://mirrors.ctan.org/macros/latex/contrib/thuthesis/thuthesis.pdf
about: 阅读模板使用文档。
- name: GitHub Discussions
url: https://github.com/tuna/thuthesis/discussions
about: 请在讨论区询问模板的使用
about: 在讨论区询问模板的使用方法。
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
echo "Current git revision: $version"
python3 utils/create_release.py --version $version
- name: Build CTAN release zip with l3build
run: l3build ctan --config build-ctan
run: l3build ctan --config utils/build-ctan
- name: Upload release zip
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 4d3ee01

Please sign in to comment.