Fix typo of issue template name (#21117)

Should be

- .gitea/issue_template.md
- .gitea/issue_template.yaml
- .gitea/issue_template.~~md~~yml

Related to #20987, #21030.
tokarchuk/v1.18
Jason Song 2 years ago committed by GitHub
parent 619eed913c
commit 5f127a729e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/content/doc/usage/issue-pull-request-templates.en-us.md
  2. 2
      docs/content/doc/usage/issue-pull-request-templates.zh-cn.md
  3. 2
      routers/web/repo/issue.go

@ -42,7 +42,7 @@ Possible file names for issue templates:
- `.gitea/ISSUE_TEMPLATE.yml`
- `.gitea/issue_template.md`
- `.gitea/issue_template.yaml`
- `.gitea/issue_template.md`
- `.gitea/issue_template.yml`
- `.github/ISSUE_TEMPLATE.md`
- `.github/ISSUE_TEMPLATE.yaml`
- `.github/ISSUE_TEMPLATE.yml`

@ -62,7 +62,7 @@ Gitea 支持两种格式的模板:Markdown 和 YAML。
- `.gitea/ISSUE_TEMPLATE.yml`
- `.gitea/issue_template.md`
- `.gitea/issue_template.yaml`
- `.gitea/issue_template.md`
- `.gitea/issue_template.yml`
- `.github/ISSUE_TEMPLATE.md`
- `.github/ISSUE_TEMPLATE.yaml`
- `.github/ISSUE_TEMPLATE.yml`

@ -81,7 +81,7 @@ var IssueTemplateCandidates = []string{
".gitea/ISSUE_TEMPLATE.yml",
".gitea/issue_template.md",
".gitea/issue_template.yaml",
".gitea/issue_template.md",
".gitea/issue_template.yml",
".github/ISSUE_TEMPLATE.md",
".github/ISSUE_TEMPLATE.yaml",
".github/ISSUE_TEMPLATE.yml",

Loading…
Cancel
Save