📜 ⬆️ ⬇️

GitHub has added template support for Issue and pull requests.

Yesterday, February 17, the Github development team announced a new feature, which the users participating in group development could seriously miss: GitHub now has templates for Issue and pull-requests.

image

According to Ben Bleukamp, "this is the first of many Issues and Pull Requests improvements made thanks to the feedback of our users."

To add the Issue template to the repository, it is enough to create a file called ISSUE_TEMPLATE in the root directory. The file extension does not play a role, but Markdown files (.md) are supported. This is a significant plus, as md-markup allows you to quickly and easily format text, add links, headers and task lists .
')
The template for a pull request is added according to the same principle: creating a file named PULL_REQUEST_TEMPLATE in the root directory of your repository.

For those who fear a mess in the root directory, support for the .github/ folder has been added. It is possible to place the files CONTRIBUTING.md , ISSUE_TEMPLATE.md and PULL_REQUEST_TEMPLATE.md with a clear conscience and everything will work in the best possible way. If it does not work, then you can read the manuals .

Source: https://habr.com/ru/post/277497/


All Articles