Skip to content

Add option to pass Gitlab personal access token for users that have 2 factor authentication (2FA) enabled.

Francis Hitchens requested to merge fhitche1/gitlab-ci-linter:master into master

Many users protect their repos with 2 factor authentication and lots of businesses mandate it. This means that in order to access the repository a personal access token needs to be passed as part of the HTTP request.

I have added the few lines of code needed to add this.

One thing I have not done, I noticed that the short options for the flags do not appear in the help -? and when input -u for --gitlab-url for example, generate an error.

Incorrect Usage. flag provided but not defined: -u

Maybe some go update has broken this?

This will close #11 (closed)

Edited by Olivier Robardet

Merge request reports