Issue and Pull Request Templates

For some projects there are a standard list of questions that users need to be askedfor creating an issue, or adding a pull request. Gitea supports adding templates to themain branch of the repository so that they can autopopulate the form when users arecreating issues, and pull requests. This will cut down on the initial back and forthof getting some clarifiying details.

Possible file names for issue templates:

  • ISSUE_TEMPLATE.md
  • issue_template.md
  • .gitea/ISSUE_TEMPLATE.md
  • .gitea/issue_template.md
  • .github/ISSUE_TEMPLATE.md
  • .github/issue_template.md
    Possible file names for PR templates:

  • 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

原文: https://docs.gitea.io/zh-cn/issue-pull-request-templates/