1
0
mirror of synced 2026-01-05 21:04:17 -05:00

Merge pull request #22391 from rajbos/patch-6

Update link to correct content
This commit is contained in:
mc
2022-12-02 09:18:59 +00:00
committed by GitHub

View File

@@ -35,7 +35,7 @@ You can create default pull request templates for your organization{% ifversion
![New pull request template in docs directory](/assets/images/help/repository/pr-template-file-name-docs.png)
- To store your file in a hidden directory, name the pull request template `.github/pull_request_template.md`.
![New pull request template in hidden directory](/assets/images/help/repository/pr-template-hidden-directory.png)
- To create multiple pull request templates and use the `template` query parameter to specify a template to fill the pull request body, type *.github/PULL_REQUEST_TEMPLATE/*, then the name of your pull request template. For example, `.github/PULL_REQUEST_TEMPLATE/pull_request_template.md`. You can also store multiple pull request templates in a `PULL_REQUEST_TEMPLATE` subdirectory within the root or `docs/` directories. For more information, see "[About automation for issues and pull requests with query parameters](/articles/about-automation-for-issues-and-pull-requests-with-query-parameters)."
- To create multiple pull request templates and use the `template` query parameter to specify a template to fill the pull request body, type *.github/PULL_REQUEST_TEMPLATE/*, then the name of your pull request template. For example, `.github/PULL_REQUEST_TEMPLATE/pull_request_template.md`. You can also store multiple pull request templates in a `PULL_REQUEST_TEMPLATE` subdirectory within the root or `docs/` directories. For more information, see "[Using query parameters to create a pull request](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/using-query-parameters-to-create-a-pull-request)."
![New multiple pull request template in hidden directory](/assets/images/help/repository/pr-template-multiple-hidden-directory.png)
4. In the body of the new file, add your pull request template. This could include:
- A [reference to a related issue](/articles/basic-writing-and-formatting-syntax/#referencing-issues-and-pull-requests) in your repository.