diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-10 09:07:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-10 09:07:16 +0300 |
commit | 32c68185530d784ce557342e69d96af2f43b0dcd (patch) | |
tree | e5372123e2d9bd24a9c8106f1961ff0b57ef834c /app/assets/javascripts/editor | |
parent | 1e5e685f4fa6745023da8691edc272e39804a50a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/editor')
-rw-r--r-- | app/assets/javascripts/editor/schema/ci.json | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/app/assets/javascripts/editor/schema/ci.json b/app/assets/javascripts/editor/schema/ci.json index 21c50acbf5d..f67519712cc 100644 --- a/app/assets/javascripts/editor/schema/ci.json +++ b/app/assets/javascripts/editor/schema/ci.json @@ -758,7 +758,17 @@ "type": "object", "properties": { "value": { - "type": "string" + "type": "string", + "markdownDescription": "Default value of the variable. If used with `options`, `value` must be included in the array. [Learn More](https://docs.gitlab.com/ee/ci/pipelines/index.html#prefill-variables-in-manual-pipelines)" + }, + "options": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 1, + "uniqueItems": true, + "markdownDescription": "A list of predefined values that users can select from in the **Run pipeline** page when running a pipeline manually. [Learn More](https://docs.gitlab.com/ee/ci/pipelines/index.html#configure-a-list-of-selectable-values-for-a-prefilled-variable)" }, "description": { "type": "string", @@ -1922,4 +1932,4 @@ "additionalProperties": false } } -} +}
\ No newline at end of file |