You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the environment variable GITLAB_COMMENT_REPORTER set as true, but the pipeline being executed is not a merge request pipeline, then the python-gitlab package will throw a gitlab.exceptions.GitlabParsingError exception and GitlabCommentReporter does not catch it and megalinter will crash.
This happens because if the CI_MERGE_REQUEST_ID and CI_OPEN_MERGE_REQUESTS environment variables are missing, then the gitlab_merge_request_id variable is set to empty string.
The text was updated successfully, but these errors were encountered:
If the environment variable
GITLAB_COMMENT_REPORTER
set astrue
, but the pipeline being executed is not a merge request pipeline, then the python-gitlab package will throw agitlab.exceptions.GitlabParsingError
exception and GitlabCommentReporter does not catch it and megalinter will crash.traceback:
This happens because if the CI_MERGE_REQUEST_ID and CI_OPEN_MERGE_REQUESTS environment variables are missing, then the
gitlab_merge_request_id
variable is set to empty string.The text was updated successfully, but these errors were encountered: