Skip to content

Commit dc3ff9f

Browse files
mkuhlmannlunny
authored andcommitted
Rename .gogs to .gitea and comply with github template guidelines (#568) (#582)
Signed-off-by: Manuel Kuhlmann <[email protected]>
1 parent 467202d commit dc3ff9f

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

routers/repo/issue.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,11 @@ var (
5050
// IssueTemplateCandidates issue templates
5151
IssueTemplateCandidates = []string{
5252
"ISSUE_TEMPLATE.md",
53-
".gogs/ISSUE_TEMPLATE.md",
53+
"issue_template.md",
54+
".gitea/ISSUE_TEMPLATE.md",
55+
".gitea/issue_template.md",
5456
".github/ISSUE_TEMPLATE.md",
57+
".github/issue_template.md",
5558
}
5659
)
5760

routers/repo/pull.go

+6-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ const (
3131

3232
var (
3333
pullRequestTemplateCandidates = []string{
34-
"PULL_REQUEST.md",
35-
".gogs/PULL_REQUEST.md",
36-
".github/PULL_REQUEST.md",
34+
"PULL_REQUEST_TEMPLATE.md",
35+
"pull_request_template.md",
36+
".gitea/PULL_REQUEST_TEMPLATE.md",
37+
".gitea/pull_request_template.md",
38+
".github/PULL_REQUEST_TEMPLATE.md",
39+
".github/pull_request_template.md",
3740
}
3841
)
3942

0 commit comments

Comments
 (0)