diff options
author | Doug Bunting <6431421+dougbu@users.noreply.github.com> | 2021-10-29 04:55:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-29 04:55:05 +0300 |
commit | 0f01e0a7ec82292aef9d4a0c5bb9e508a10cb8af (patch) | |
tree | a2b7ace85a5e4ebe1f01252cfe56f92b63823f31 /.azuredevops | |
parent | e8200cbc3d7b9e5d61fd567982698cf183c05e72 (diff) |
Create AzDO PR templates for internal/* branches (#37917)
- follow-up to 9ca2be836d6a
- the branches/ files are _prefix_ matched against PR target branches
- "The name must match the first level of the branch name"
- see <https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-request-templates#branch-specific-pull-request-templates>
- note: these templates are only read from the default branch
nit: provide default PR template for the odd case of an internal PR targeting 'main' or a temporary (feature) branch
- see <https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-request-templates#default-pull-request-templates>
- keep minimal.md PR template separate from the default
- this template helps after removing servicing template for internal `tell-mode` PRs
- default PR template can't be used as an additional PR template
- see <https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-request-templates#additional-pull-request-templates>
Diffstat (limited to '.azuredevops')
-rw-r--r-- | .azuredevops/pull_request_template.md | 9 | ||||
-rw-r--r-- | .azuredevops/pull_request_template/branches/internal.md | 45 | ||||
-rw-r--r-- | .azuredevops/pull_request_template/minimal.md | 2 |
3 files changed, 55 insertions, 1 deletions
diff --git a/.azuredevops/pull_request_template.md b/.azuredevops/pull_request_template.md new file mode 100644 index 0000000000..499ac58c91 --- /dev/null +++ b/.azuredevops/pull_request_template.md @@ -0,0 +1,9 @@ +# {PR title} + +Summary of the changes (Less than 80 chars) + +## Description + +{Detail} + +Fixes #{bug number} (in this specific format) diff --git a/.azuredevops/pull_request_template/branches/internal.md b/.azuredevops/pull_request_template/branches/internal.md new file mode 100644 index 0000000000..59ad82ee7a --- /dev/null +++ b/.azuredevops/pull_request_template/branches/internal.md @@ -0,0 +1,45 @@ +# {PR title} + +Summary of the changes (Less than 80 chars) + +## Description + +{Detail} + +Fixes #{bug number} (in this specific format) + +## Customer Impact + +{Justification} + +## Regression? + +- [ ] Yes +- [ ] No + +[If yes, specify the version the behavior has regressed from] + +## Risk + +- [ ] High +- [ ] Medium +- [ ] Low + +[Justify the selection above] + +## Verification + +- [ ] Manual (required) +- [ ] Automated + +## Packaging changes reviewed? + +- [ ] Yes +- [ ] No +- [ ] N/A + +---- + +## When servicing release/2.1 + +- [ ] Make necessary changes in eng/PatchConfig.props diff --git a/.azuredevops/pull_request_template/minimal.md b/.azuredevops/pull_request_template/minimal.md index cee383576e..8533464e22 100644 --- a/.azuredevops/pull_request_template/minimal.md +++ b/.azuredevops/pull_request_template/minimal.md @@ -1,7 +1,7 @@ # {PR title} <!-- - Use for tell mode PRs after removing servicing template. Ignoring internal PRs targeting main (extreme corner case). + Use for tell mode PRs after removing servicing template. --> Summary of the changes (Less than 80 chars) |