diff options
Diffstat (limited to 'gitlab/cli.py')
-rw-r--r-- | gitlab/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/cli.py b/gitlab/cli.py index 01d8851..0ff2f22 100644 --- a/gitlab/cli.py +++ b/gitlab/cli.py @@ -202,7 +202,7 @@ def main(): try: gl = gitlab.Gitlab.from_config(gitlab_id, config_files) - if gl.private_token or gl.oauth_token: + if gl.private_token or gl.oauth_token or gl.job_token: gl.auth() except Exception as e: die(str(e)) |