Skip to content

Commit d63748a

Browse files
author
Gauvain Pocentek
committed
docs: trigger_pipeline only accept branches and tags as ref
Fixes python-gitlab#430
1 parent ac123df commit d63748a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2681,7 +2681,7 @@ def trigger_pipeline(self, ref, token, variables={}, **kwargs):
26812681
See https://gitlab.com/help/ci/triggers/README.md#trigger-a-build
26822682
26832683
Args:
2684-
ref (str): Commit to build; can be a commit SHA, a branch name, ...
2684+
ref (str): Commit to build; can be a branch name or a tag
26852685
token (str): The trigger token
26862686
variables (dict): Variables passed to the build script
26872687
**kwargs: Extra options to send to the server (e.g. sudo)

0 commit comments

Comments
 (0)