diff --git a/.github/workflows/mavenLicenseCheck.yml b/.github/workflows/mavenLicenseCheck.yml index f1f7747..c5126b7 100644 --- a/.github/workflows/mavenLicenseCheck.yml +++ b/.github/workflows/mavenLicenseCheck.yml @@ -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 ) {