diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-01 06:10:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-01 06:10:42 +0300 |
commit | 24ed1c84da7fb6df910f06552bc9e2e7fe5bcb59 (patch) | |
tree | 2e648cbac693d1fe3dd2720c9f608470998d6b03 /doc/api/lint.md | |
parent | 533fed8bd825f93b4b43bd41d41caa38cfc6ae55 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/lint.md')
-rw-r--r-- | doc/api/lint.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/lint.md b/doc/api/lint.md index 7b288c34343..45ae739ef86 100644 --- a/doc/api/lint.md +++ b/doc/api/lint.md @@ -20,7 +20,7 @@ POST /projects/:id/ci/lint | `content` | string | Yes | The CI/CD configuration content. | | `dry_run` | boolean | No | Run [pipeline creation simulation](../ci/lint.md#simulate-a-pipeline), or only do static check. Default: `false`. | | `include_jobs` | boolean | No | If the list of jobs that would exist in a static check or pipeline simulation should be included in the response. Default: `false`. | -| `ref` | string | No | When `dry_run` is `true`, sets the branch or tag to use. Defaults to the project's default branch when not set. | +| `ref` | string | No | When `dry_run` is `true`, sets the branch or tag context to use to validate the CI/CD YAML configuration. Defaults to the project's default branch when not set. | Example request: @@ -71,7 +71,7 @@ GET /projects/:id/ci/lint |----------------|---------|----------|-------------| | `dry_run` | boolean | No | Run pipeline creation simulation, or only do static check. | | `include_jobs` | boolean | No | If the list of jobs that would exist in a static check or pipeline simulation should be included in the response. Default: `false`. | -| `ref` | string | No | When `dry_run` is `true`, sets the branch or tag to use. Defaults to the project's default branch when not set. | +| `ref` | string | No | When `dry_run` is `true`, sets the branch or tag context to use to validate the CI/CD YAML configuration. Defaults to the project's default branch when not set. | | `sha` | string | No | The commit SHA of a branch or tag. Defaults to the SHA of the head of the project's default branch when not set. | Example request: |