-
Notifications
You must be signed in to change notification settings - Fork 81
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
Automatically check licenses and request review for target updates #2760
base: master
Are you sure you want to change the base?
Automatically check licenses and request review for target updates #2760
Conversation
bed8862
to
a664f91
Compare
If there are updates to the target contents there is some chance we need a review. This now adds a job that when a PR is created or updated calls the license check workflow together with a review request.
a664f91
to
abfeda5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calling the maven-license-check-action
will trigger a review of all not vetted artifacts, that looks good.
But you wont get a comment with the pretty-printed results added to the PR created, which I think is especially useful if some artifacts are not vetted and one wants to check the requests status.
With the current dash-licenses workflow, this would require the platform-bot to add the usual /request-license-review
. This seems a bit cumbersome on first sight, but eventually it's just another event-trigger, like adding a label or alike.
Yes this will be "silent" at the moment, but my idea is that if one sometimes later rerun the check it is already vetted (so it is actually good), maybe one can make it add a label to the PR (e.g |
Yes, it's definitely better than before.
Yes there are way to many mails, but luckily my mail-program sorts the mails into threads and deleting a two or three mail thread is not really a difference for me 😅. Nevertheless running the license-workflow if a label is present is probably best implemented by generalizing the case for 'automated requests for dependabot PRs' (which unfortunately doesn't work currently due to the permissions model): |
By label I mean, that this job can add a label to the PR when the check was successful, so one can "see" it... but thinking further now one better would want to rerun the license check check if vetting was performed... but this will require a lot more work I fear. |
That would be nice, if possible I would even add a comment to ping the the person responsible for the PR, but as you said that's much more work as it requires a connection from the EF gitlab to the corresponding GH PR. But first of all it would require eclipse-dash/dash-licenses#184, because currently there is no direct link from a Gitlab IP issue to the creating PR. |
If there are updates to the target contents there is some chance we need a review.
This now adds a job that when a PR is created or updated calls the license check workflow together with a review request.