-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using ssh to push the new tags. #784
Comments
I found a similar issue #377 and the response is unfortunately sad. Is there any other way that I could do this with an ssh token? Is the gitlab plugin using their api to also create the tags? |
This error is only raised when no GitLab token is configured, see https://github.com/semantic-release/gitlab/blob/master/lib/verify.js#L54 and https://github.com/semantic-release/gitlab/blob/master/lib/resolve-config.js#L49 |
We need API access for multiple features, e.g. creating issue comments, finding related MRs, uploading assets, or creating issues for failed publish operations. Therefore it does not really make sense to use this plugin without a proper token. At some point we will hopefully be able to support job tokens, see #156. |
Gotcha. Thanks for getting back to me this quickly btw. |
The tag is created by |
I'm a free user of gitlab.com therefore I don't have access to project/namespace tokens and since I intend on protecting my master branch from being pushed directly I have to resort into deployment tokens.
Steps:
I have a token set for different pipelines and it still throws the error bellow. My assumption is that the code is checking the origin url and looking for that token? In this case, since I'm using ssh it shouldn't require a token should it for the release creation it would make sense to require that but not for creating the tag itself
If my approach is completely wrong how do I approach this problem without having to keep my master branch open
The text was updated successfully, but these errors were encountered: