summaryrefslogtreecommitdiff
path: root/doc/api/lint.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-02-14 12:14:02 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-02-14 12:14:02 +0000
commit2896c7471aa75a7842fe6318a122f83ca6c211bb (patch)
tree5da5605d7632d654cf70a3bbfbf32dc12178fa04 /doc/api/lint.md
parent41482e5dce6765dc2ec019da1c652061fc8d8f83 (diff)
downloadgitlab-ce-2896c7471aa75a7842fe6318a122f83ca6c211bb.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/lint.md')
-rw-r--r--doc/api/lint.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/lint.md b/doc/api/lint.md
index f8d871d070d..e432b3b276f 100644
--- a/doc/api/lint.md
+++ b/doc/api/lint.md
@@ -171,6 +171,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. This is false by default. |
| `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. This is false by default. |
+| `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. |
Example request:
@@ -220,6 +221,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. This is false by default. |
+| `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. |
Example request: