summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
authorNick Brown <nickbroon@graphiant.com>2022-12-09 19:46:40 +0000
committerNejc Habjan <hab.nejc@gmail.com>2022-12-10 14:38:06 +0100
commitb6c08725042380d20ef5f09979bc29f2f6c1ab6f (patch)
treeb96eb95e748a0fcb16a3ffd88c3d49c27c62335e /gitlab
parent283e7cc04ce61aa456be790a503ed64089a2c2b6 (diff)
downloadgitlab-b6c08725042380d20ef5f09979bc29f2f6c1ab6f.tar.gz
feat: allow filtering pipelines by source
See: https://docs.gitlab.com/ee/api/pipelines.html#list-project-pipelines Added in GitLab 14.3
Diffstat (limited to 'gitlab')
-rw-r--r--gitlab/v4/objects/pipelines.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/v4/objects/pipelines.py b/gitlab/v4/objects/pipelines.py
index eec46a1..a4312d6 100644
--- a/gitlab/v4/objects/pipelines.py
+++ b/gitlab/v4/objects/pipelines.py
@@ -96,6 +96,7 @@ class ProjectPipelineManager(RetrieveMixin, CreateMixin, DeleteMixin, RESTManage
_list_filters = (
"scope",
"status",
+ "source",
"ref",
"sha",
"yaml_errors",