mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-30 12:37:45 +01:00
38 lines
1.1 KiB
Markdown
38 lines
1.1 KiB
Markdown
|
---
|
|||
|
date: "2018-05-10T16:00:00+02:00"
|
|||
|
title: "使用:Issue 和 Pull Request 模板"
|
|||
|
slug: "issue-pull-request-templates"
|
|||
|
weight: 15
|
|||
|
toc: true
|
|||
|
draft: false
|
|||
|
menu:
|
|||
|
sidebar:
|
|||
|
parent: "usage"
|
|||
|
name: "Issue 和 Pull Request 模板"
|
|||
|
weight: 15
|
|||
|
identifier: "issue-pull-request-templates"
|
|||
|
---
|
|||
|
|
|||
|
# 使用 Issue 和 Pull Request 模板
|
|||
|
|
|||
|
对于一些项目,在创建 issue 或 pull request 时有一个标准的询问列表需要提交者填写。Gitea 支持添加此类模板至 repository 的主分支,以便提交者在创建 issue 或 pull request 时可以自动生成一个需要完成的表单,这么做可以减少一些前期关于 issue 抑或 pull request 细节上的沟通成本。
|
|||
|
|
|||
|
以下罗列了一些可供参考的 issue 模板:
|
|||
|
|
|||
|
* ISSUE_TEMPLATE.md
|
|||
|
* issue_template.md
|
|||
|
* .gitea/ISSUE_TEMPLATE.md
|
|||
|
* .gitea/issue_template.md
|
|||
|
* .github/ISSUE_TEMPLATE.md
|
|||
|
* .github/issue_template.md
|
|||
|
|
|||
|
|
|||
|
以下罗列了一些可供参考的 PR 模板:
|
|||
|
|
|||
|
* 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
|