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

[License-Workflow] Fail workflow on automated vetting-requests #328

Merged

Conversation

HannesWell
Copy link
Member

@HannesWell HannesWell commented Mar 17, 2024

Since #220 license-reviews are automatically requested for PRs created by dependabot. But in that change the logic of the 'Process license check results' step was not updated to consider that case. This had the effect that the license-vetting workflow always succeeded for PRs created by dependabot.

The intention to not fail the workflow in general when a license-review was requested is because initially review-request were only created manually from committers by adding a corresponding comment to the PR. And that workflow execution should not fail respectively its result was actually irrelevant.

Fixes eclipse-tycho/tycho#3661

@HannesWell HannesWell force-pushed the fail-on-automated-vetting-requests branch 2 times, most recently from a3ee170 to 3a7cf77 Compare March 17, 2024 15:43
Since eclipse#220 license-reviews
are automatically requested for PRs created by dependabot. But in that
change the logic of the 'Process license check results' step was not
updated to consider that case. This had the effect that the
license-vetting workflow always succeeded for PRs created by dependabot.

The intention to not fail the workflow in general when a license-review
was requested is because initially review-request were only created
manually from committers by adding a corresponding comment to the PR.
And that workflow execution should not fail respectively its result was
actually irrelevant.

Fixes eclipse-tycho/tycho#3661
@HannesWell HannesWell force-pushed the fail-on-automated-vetting-requests branch from 3a7cf77 to 0fc9381 Compare March 17, 2024 15:47
@HannesWell HannesWell marked this pull request as ready for review March 17, 2024 16:08
@HannesWell
Copy link
Member Author

All testing was successful.

@HannesWell HannesWell merged commit 8d958f8 into eclipse:master Mar 17, 2024
4 checks passed
@HannesWell HannesWell deleted the fail-on-automated-vetting-requests branch March 17, 2024 16:08
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

Successfully merging this pull request may close these issues.

PRs with pending reviews are merged
1 participant