-
Notifications
You must be signed in to change notification settings - Fork 33
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
license-check fails with "GitLabApiException: 401 Unauthorized" when unvetted dependency is found #348
Comments
To be clear you add in your job the option |
Have you considered to use the reusable workflow provided in this repository and for example used in eclipse-platform? This workflow provides exactly what you want: a committer explicitly has to request a review by adding a corresponding comment. |
@netomi Thanks, I didn't understand this part fully before. I can confirm that completely omitting |
@HannesWell thanks for the suggestion. I will have a look into the reusable workflow. |
Actually, maybe that ticket is still relevant. I had thought that an issue in the IP Lab repo is only created when specifying -review and the token. In this case only the token was specified and no -review option (see the referenced workflow above), but the connection to the IP Lab was still being made and failed with an error. Furthermore there is this jgit error, which should be fixed in the latest version of jgit:
|
We configured a license-check job at https://github.com/eclipse/tm4e/blob/main/.github/workflows/licensecheck.yml
When a PR is opened that introduces a new dependency, the license-check currently fails with a confusing error:
org.gitlab4j.api.GitLabApiException: 401 Unauthorized
, see https://github.com/eclipse/tm4e/actions/runs/9453794511/job/26039895454The reason apparently is, that we do not provide a dash iplab token by default which is required for the license plugin to automatically open a review request.
However, we do not want to add a dash token by default, because we do not want that review requests are opened by random PRs,
instead we would like to see a human comprehensible error message, such as the one you get if you provide a dash iplab token:
Some dependencies must be vetted.
The text was updated successfully, but these errors were encountered: