Skip to content
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

mailchanges fails for newer versions of GitLab #132

Open
Tech356 opened this issue Oct 9, 2019 · 0 comments
Open

mailchanges fails for newer versions of GitLab #132

Tech356 opened this issue Oct 9, 2019 · 0 comments

Comments

@Tech356
Copy link

Tech356 commented Oct 9, 2019

On newer version of GitLab, Chef-Guard throws and error:

Failed to send git spam: The token configured for GitLab group <group> is not valid!

This error orginates from Line 206 in gitlab.go. Sometime around the release of GitLab 11.6, GitLab changed the permissions on the non-api urls.

https://gitlab.com/gitlab-org/gitlab/issues/26228

The API equivalent could be used but it would require parsing the JSON and re-constructing the diff.

https://docs.gitlab.com/ee/api/commits.html#get-the-diff-of-a-commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant