소스 검색

Rename .gogs to .gitea and comply with github template guidelines (#568) (#582)

Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
tags/v1.1.0
Manuel Kuhlmann 7 년 전
부모
커밋
dc3ff9f2ab
2개의 변경된 파일10개의 추가작업 그리고 4개의 파일을 삭제
  1. 4
    1
      routers/repo/issue.go
  2. 6
    3
      routers/repo/pull.go

+ 4
- 1
routers/repo/issue.go 파일 보기

@@ -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",
}
)


+ 6
- 3
routers/repo/pull.go 파일 보기

@@ -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",
}
)


Loading…
취소
저장