Allow not specifying API token for public projects
What does this MR do and why?
It looks like we no longer have GITLAB_API_TOKEN
variable, which isn't really useful when we're just trying to dry-run an example. Let's just pass an empty string.
This will much help Community contribution as well. Before this, it always fails due to missing the token.
- When
--token
is not passed, we use an empty API token - When
--token
is passed, it cannot be an empty token (OptionParser
will reject it)
Edited by Lin Jen-Shin