You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

issue-pull-request-templates.en-us.md 1.3 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ---
  2. date: "2018-05-10T16:00:00+02:00"
  3. title: "Usage: Issue and Pull Request templates"
  4. slug: "issue-pull-request-templates"
  5. weight: 15
  6. toc: true
  7. draft: false
  8. menu:
  9. sidebar:
  10. parent: "usage"
  11. name: "Issue and Pull Request templates"
  12. weight: 15
  13. identifier: "issue-pull-request-templates"
  14. ---
  15. # Issue and Pull Request Templates
  16. Some projects have a standard list of questions that users need to answer
  17. when creating an issue or pull request. Gitea supports adding templates to the
  18. main branch of the repository so that they can autopopulate the form when users are
  19. creating issues and pull requests. This will cut down on the initial back and forth
  20. of getting some clarifying details.
  21. Possible file names for issue templates:
  22. * ISSUE_TEMPLATE.md
  23. * issue_template.md
  24. * .gitea/ISSUE_TEMPLATE.md
  25. * .gitea/issue_template.md
  26. * .github/ISSUE_TEMPLATE.md
  27. * .github/issue_template.md
  28. Possible file names for PR templates:
  29. * PULL_REQUEST_TEMPLATE.md
  30. * pull_request_template.md
  31. * .gitea/PULL_REQUEST_TEMPLATE.md
  32. * .gitea/pull_request_template.md
  33. * .github/PULL_REQUEST_TEMPLATE.md
  34. * .github/pull_request_template.md
  35. Additionally, the New Issue page URL can be suffixed with `?body=Issue+Text` and the form will be populated with that string. This string will be used instead of the template if there is one.