Skip to content

Commit

Permalink
Revert "[License-Workflow] Fail workflow on automated vetting-requests"
Browse files Browse the repository at this point in the history
This reverts commit a3ee170.
  • Loading branch information
HannesWell committed Mar 17, 2024
1 parent ee28eca commit 87c2647
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/mavenLicenseCheck.yml
Expand Up @@ -149,14 +149,11 @@ jobs:
const licenesVetted = ${{ steps.check-license-vetting.outputs.licenses-vetted }}
let commentBody = ''
// if context.payload.comment is empty, this is an explicit review-request through a comment, if not an automated one, e.g. for dependabot PRs
if ( context.payload.comment ) {
commentBody += '> ' + context.payload.comment.body + '\n\n'
} else if ( licenesVetted ){
core.info('License review request made automatically but all licenses are already vetted.')
return; // Don't create a comment in this case, the checks in the UI indicate the state already.
} else {
core.setFailed("Some dependencies must be vetted and their review was requested.")
}
if( licenesVetted ) {
Expand Down

0 comments on commit 87c2647

Please sign in to comment.