我想标准化我所有应用程序和存储库中的问题和 MR。所以,我正在寻找最具描述性的问题和 MR 模板。
尽管如此,这会根据问题和 MR 的要求而发生变化。但是,我只是想探索可能性。
我一直在网上查,但我觉得还是问开发商比较好
目前我将此作为 MR 模板
Have you done the following:
- [ ] Have you squashed your commits?
- [ ] Does your squashed commit have a tag like [FIX],[MAINTENANCE],[FEATURE],[CLEANUP],[UPGRADE]
- [ ] Did you write new test cases for this merge request?
- [ ] Did the test cases run successfully in your environment?
##### Explain the problem
---
##### Explain the solution
---
##### Provide links to any relevant issue tickets, articles or other resources
---
并使用它作为我的问题模板
### Description
---
### User Story
---
### Acceptance Criteria
---
### Implementation Notes
---
### Testing Notes
---
### Dependencies
---
### Resources
---
您可以直接在 GitLab 项目上找到问题和合并请求模板的示例:
https://gitlab.com/gitlab-org/gitlab/-/tree/master/.gitlab?ref_type=heads
你的已经很不错了。可能缺少的是标签或其他快速操作(/cc 来识别负责人或直接指派某人等)。
我希望这对您有所帮助。