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 | |
parent | 533fed8bd825f93b4b43bd41d41caa38cfc6ae55 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/lint.md | 4 | ||||
-rw-r--r-- | doc/api/projects.md | 1 |
2 files changed, 3 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: diff --git a/doc/api/projects.md b/doc/api/projects.md index f909f376fce..516418a387b 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -1794,6 +1794,7 @@ POST /projects/:id/fork | `namespace` | integer or string | No | _(Deprecated)_ The ID or path of the namespace that the project is forked to. | | `path` | string | No | The path assigned to the resultant project after forking. | | `visibility` | string | No | The [visibility level](#project-visibility-level) assigned to the resultant project after forking. | +| `branches` | string | No | Branches to fork (empty for all branches). | ## List forks of a project |