From 87c2647852768524d876eb9d8fa6e942c30235bf Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Sun, 17 Mar 2024 16:27:25 +0100 Subject: [PATCH] Revert "[License-Workflow] Fail workflow on automated vetting-requests" This reverts commit a3ee1702097c72380e5ddf80746db7041fc54382. --- .github/workflows/mavenLicenseCheck.yml | 3 --- 1 file changed, 3 deletions(-) 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 ) {