diff options
author | jrdescartes <106824521+jrdescartes@users.noreply.github.com> | 2023-01-18 09:54:09 +0100 |
---|---|---|
committer | John Villalovos <john@sodarock.com> | 2023-01-18 07:24:44 -0800 |
commit | aa44f2aed8150f8c891837e06296c7bbef17c292 (patch) | |
tree | dd2e8c15414301ff984c222bd2867c5cee119f90 | |
parent | 122988ceb329d7162567cb4a325f005ea2013ef2 (diff) | |
download | gitlab-aa44f2aed8150f8c891837e06296c7bbef17c292.tar.gz |
chore: update attributes for create and update projects
-rw-r--r-- | gitlab/v4/objects/projects.py | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/gitlab/v4/objects/projects.py b/gitlab/v4/objects/projects.py index 588109f..6330cc5 100644 --- a/gitlab/v4/objects/projects.py +++ b/gitlab/v4/objects/projects.py @@ -667,6 +667,7 @@ class ProjectManager(CRUDMixin, RESTManager): "name", "path", "allow_merge_on_skipped_pipeline", + "only_allow_merge_if_all_status_checks_passed", "analytics_access_level", "approvals_before_merge", "auto_cancel_pending_pipelines", @@ -680,6 +681,7 @@ class ProjectManager(CRUDMixin, RESTManager): "builds_access_level", "ci_config_path", "container_expiration_policy_attributes", + "container_registry_access_level", "container_registry_enabled", "default_branch", "description", @@ -708,11 +710,17 @@ class ProjectManager(CRUDMixin, RESTManager): "requirements_access_level", "printing_merge_request_link_enabled", "public_builds", + "releases_access_level", + "environments_access_level", + "feature_flags_access_level", + "infrastructure_access_level", + "monitor_access_level", "remove_source_branch_after_merge", "repository_access_level", "repository_storage", "request_access_enabled", "resolve_outdated_diff_discussions", + "security_and_compliance_access_level", "shared_runners_enabled", "show_default_award_emojis", "snippets_access_level", @@ -733,6 +741,7 @@ class ProjectManager(CRUDMixin, RESTManager): _update_attrs = RequiredOptional( optional=( "allow_merge_on_skipped_pipeline", + "only_allow_merge_if_all_status_checks_passed", "analytics_access_level", "approvals_before_merge", "auto_cancel_pending_pipelines", @@ -747,22 +756,31 @@ class ProjectManager(CRUDMixin, RESTManager): "ci_config_path", "ci_default_git_depth", "ci_forward_deployment_enabled", + "ci_allow_fork_pipelines_to_run_in_parent_project", + "ci_separated_caches", "container_expiration_policy_attributes", + "container_registry_access_level", "container_registry_enabled", "default_branch", "description", "emails_disabled", + "enforce_auth_checks_on_uploads", "external_authorization_classification_label", "forking_access_level", "import_url", "issues_access_level", "issues_enabled", + "issues_template", "jobs_enabled", + "keep_latest_artifact", "lfs_enabled", + "merge_commit_template", "merge_method", "merge_pipelines_enabled", "merge_requests_access_level", "merge_requests_enabled", + "merge_requests_template", + "merge_trains_enabled", "mirror_overwrites_diverged_branches", "mirror_trigger_builds", "mirror_user_id", @@ -779,16 +797,24 @@ class ProjectManager(CRUDMixin, RESTManager): "restrict_user_defined_variables", "path", "public_builds", + "releases_access_level", + "environments_access_level", + "feature_flags_access_level", + "infrastructure_access_level", + "monitor_access_level", "remove_source_branch_after_merge", "repository_access_level", "repository_storage", "request_access_enabled", "resolve_outdated_diff_discussions", + "security_and_compliance_access_level", "service_desk_enabled", "shared_runners_enabled", "show_default_award_emojis", "snippets_access_level", "snippets_enabled", + "issue_branch_template", + "squash_commit_template", "squash_option", "suggestion_commit_message", "tag_list", @@ -796,8 +822,6 @@ class ProjectManager(CRUDMixin, RESTManager): "visibility", "wiki_access_level", "wiki_enabled", - "issues_template", - "merge_requests_template", ), ) _list_filters = ( |