Tec*_*ner 8 github pull-request
我有一个 github 单一存储库(mono repo),如下所示:
/
- .github
- docs
- web
- mobile
Run Code Online (Sandbox Code Playgroud)
问题:
我想仅为web但不为其他文件夹创建拉取请求模板。github上可以实现吗?
我的pull_request_template.md:
<!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
## Web checklist
Run Code Online (Sandbox Code Playgroud)
小智 0
不幸的是,如果你想拥有不同的模板,那么使用 GitHub 模板是没有用的。您可以移动到另一个文件夹,但您必须添加到请求参数&template=my_template.md
但你可以使用 bash 脚本,它将使用你自己的模板创建 PR。 https://github.com/Evleaps/Script-collection/blob/main/make_pr.sh
| 归档时间: |
|
| 查看次数: |
1233 次 |
| 最近记录: |