diff --git a/.github/actions/maven-license-check-action/action.yml b/.github/actions/maven-license-check-action/action.yml index 5186cba..f6eee2e 100644 --- a/.github/actions/maven-license-check-action/action.yml +++ b/.github/actions/maven-license-check-action/action.yml @@ -36,7 +36,7 @@ runs: if [ ${{ inputs.request-review }} ]; then mvn ${mvnArgs} -Ddash.iplab.token=$GITLAB_API_TOKEN if [[ $? == 0 ]]; then # All licenses are vetted - echo "build-succeeded=1" >> $GITHUB_OUTPUT + echo "build-succeeded=0" >> $GITHUB_OUTPUT else echo "build-succeeded=0" >> $GITHUB_OUTPUT fi diff --git a/.github/workflows/mavenLicenseCheck.yml b/.github/workflows/mavenLicenseCheck.yml index 9c6c327..84e600a 100644 --- a/.github/workflows/mavenLicenseCheck.yml +++ b/.github/workflows/mavenLicenseCheck.yml @@ -62,7 +62,7 @@ jobs: run: echo "isDependabotPR=1" >> $GITHUB_ENV if: > github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.action == 'reopened') - && github.actor == 'dependabot[bot]' && github.actor_id == '49699333' + && github.actor == 'HannesWell' # For 'issue_comment'-events this job only runs if a comment was added to a PR with body specified above - name: Set review request @@ -176,7 +176,7 @@ jobs: commentBody += 'After all reviews have concluded, re-run the license-vetting check from the Github Actions web-interface to update its status.\n' } else { - core.setFailed("License vetting build failed, but no reviews are created") + //core.setFailed("License vetting build failed, but no reviews are created") commentBody += ':warning: Failed to request review of not vetted licenses.\n' } }