From 0f585d0de89cfee5054e002fe6421c38b3f8e8ce Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Thu, 18 Jul 2019 10:13:15 +0200 Subject: API: Allow changing only ci_default_git_depth --- changelogs/unreleased/ci_default_git_depth_only.yml | 5 +++++ lib/api/helpers/projects_helpers.rb | 1 + 2 files changed, 6 insertions(+) create mode 100644 changelogs/unreleased/ci_default_git_depth_only.yml diff --git a/changelogs/unreleased/ci_default_git_depth_only.yml b/changelogs/unreleased/ci_default_git_depth_only.yml new file mode 100644 index 00000000000..928e2fe3ec4 --- /dev/null +++ b/changelogs/unreleased/ci_default_git_depth_only.yml @@ -0,0 +1,5 @@ +--- +title: 'API: Allow changing only ci_default_git_depth' +merge_request: 30888 +author: Mathieu Parent +type: fixed diff --git a/lib/api/helpers/projects_helpers.rb b/lib/api/helpers/projects_helpers.rb index 833e3b9ebaf..51b7cf05c8f 100644 --- a/lib/api/helpers/projects_helpers.rb +++ b/lib/api/helpers/projects_helpers.rb @@ -71,6 +71,7 @@ module API :build_timeout, :builds_access_level, :ci_config_path, + :ci_default_git_depth, :container_registry_enabled, :default_branch, :description, -- cgit v1.2.1