合并后将gitlab-ci.yml中的include-ref改成master?
Change include-ref in gitlab-ci.yml to master after merging?
我在 repo 分支的 yaml 文件中有以下代码
include:
project: my-project
ref: test_branch
file: common.yml
现在,在将它与 master 合并后,我如何使 ref 自动指向 master,因为 common.yml 目前仅在 test_branch 中?
如果文件在同一个存储库中,并且你想始终访问同一个分支中的文件,你也可以使用
include:
- local: common.yml
我在 repo 分支的 yaml 文件中有以下代码
include:
project: my-project
ref: test_branch
file: common.yml
现在,在将它与 master 合并后,我如何使 ref 自动指向 master,因为 common.yml 目前仅在 test_branch 中?
如果文件在同一个存储库中,并且你想始终访问同一个分支中的文件,你也可以使用
include:
- local: common.yml