summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-02-18 10:02:28 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2018-02-18 10:02:28 +0100
commitd63748a41cc22bba93a9adf0812e7eb7b74a0161 (patch)
treeb80d6970c1fbf10a2cec25d45225c1a4a9e5057b /gitlab
parentac123dfe67240f25de52dc445bde93726d5862c1 (diff)
downloadgitlab-d63748a41cc22bba93a9adf0812e7eb7b74a0161.tar.gz
docs: trigger_pipeline only accept branches and tags as ref
Fixes #430
Diffstat (limited to 'gitlab')
-rw-r--r--gitlab/v4/objects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index c1e6441..f107540 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -2681,7 +2681,7 @@ class Project(SaveMixin, ObjectDeleteMixin, RESTObject):
See https://gitlab.com/help/ci/triggers/README.md#trigger-a-build
Args:
- ref (str): Commit to build; can be a commit SHA, a branch name, ...
+ ref (str): Commit to build; can be a branch name or a tag
token (str): The trigger token
variables (dict): Variables passed to the build script
**kwargs: Extra options to send to the server (e.g. sudo)