Skip to content

Commit 13e55a6

Browse files
committed
Update bug_report.yml
1 parent 6f3edb0 commit 13e55a6

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
name: 报告错误的解法代码
2-
title: "[bug] {这里替换为出错的力扣题号和题目} {这里替换为出错的编程语言}"
3-
description:
2+
title: "[bug][{这里替换为出错的编程语言}] {这里替换为出错的力扣题目标识符} "
3+
description: "反馈我的刷题全家桶中的错误。"
44
labels: [ "code bug" ]
55
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
力扣题目标识符是题目 URL 的最后一部分。比如 [https://leetcode.cn/problems/search-a-2d-matrix/](https://leetcode.cn/problems/search-a-2d-matrix/) 这道题标识符就是 `search-a-2d-matrix`。请补全 issue 题目,示例:`[bug][golang] search-a-2d-matrix`.
10+
611
- type: checkboxes
712
attributes:
8-
label: Search before asking
13+
label: 请在提交 bug 之前先搜索
914
description: >
1015
请先搜索 [issues](https://github.com/labuladong/fucking-algorithm/issues) 确保你提的这个 bug 还没有被提交过。
1116
options:
@@ -17,7 +22,7 @@ body:
1722
label: 出错的题目链接
1823
description: |
1924
输入力扣的题目链接
20-
placeholder: e.g. https://leetcode.cn/problems/search-a-2d-matrix/
25+
placeholder: 例如 https://leetcode.cn/problems/search-a-2d-matrix/
2126
validations:
2227
required: true
2328
- type: textarea
@@ -41,4 +46,4 @@ body:
4146
- label: 我愿意!
4247
- type: markdown
4348
attributes:
44-
value: "感谢你的支持,刷题全家桶会因你变得越来越好"
49+
value: "感谢你的支持,[labuladong 的刷题全家桶](https://labuladong.github.io/article/fname.html?fname=全家桶简介) 会因你变得越来越好"

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
<!--
2-
如果你是在修复刷题插件的解法代码,请遵循正确的格式,参见这个样例
2+
如果你是在修复刷题插件的解法代码,请遵循正确的格式,具体要求参见如下链接
33
4-
https://github.com/labuladong/fucking-algorithm/pull/1112
4+
https://github.com/labuladong/fucking-algorithm/issues/1113
55
-->
66

7+
<!-- 如果你的 PR 能够关闭某个 issue,那么在 Fixes 关键词后面输入该 issue 的链接 -->
8+
9+
Fixes <!-- issue 链接 -->
10+
711
我修改的是如下题目的 xx 解法:
812

913
<!-- 这里放对应题目的链接,方便验证代码 -->

0 commit comments

Comments
 (0)