Skip to content

Commit

Permalink
Rename .gogs to .gitea and comply with github template guidelines (#568
Browse files Browse the repository at this point in the history
…) (#582)

Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
  • Loading branch information
mkuhlmann authored and lunny committed Jan 5, 2017
1 parent 467202d commit dc3ff9f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion routers/repo/issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@ var (
// IssueTemplateCandidates issue templates
IssueTemplateCandidates = []string{
"ISSUE_TEMPLATE.md",
".gogs/ISSUE_TEMPLATE.md",
"issue_template.md",
".gitea/ISSUE_TEMPLATE.md",
".gitea/issue_template.md",
".github/ISSUE_TEMPLATE.md",
".github/issue_template.md",
}
)

Expand Down
9 changes: 6 additions & 3 deletions routers/repo/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ const (

var (
pullRequestTemplateCandidates = []string{
"PULL_REQUEST.md",
".gogs/PULL_REQUEST.md",
".github/PULL_REQUEST.md",
"PULL_REQUEST_TEMPLATE.md",
"pull_request_template.md",
".gitea/PULL_REQUEST_TEMPLATE.md",
".gitea/pull_request_template.md",
".github/PULL_REQUEST_TEMPLATE.md",
".github/pull_request_template.md",
}
)

Expand Down

0 comments on commit dc3ff9f

Please sign in to comment.