Skip to content
代码片段 群组 项目
未验证 提交 b0326cea 编辑于 作者: matthewjackswann's avatar matthewjackswann 提交者: GitLab
浏览文件

Added docs on allowing specific default variables

上级 c9152d38
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
......@@ -680,7 +680,8 @@ all jobs in a pipeline, including trigger jobs, inherit [default `variables`](..
#### Prevent default variables from being passed
You can stop default CI/CD variables from reaching the downstream pipeline with
[`inherit:variables:false`](../yaml/_index.md#inheritvariables).
[`inherit:variables`](../yaml/_index.md#inheritvariables). You can list specific variables to inherit,
or block all default variables.
For example:
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册