From 0464bbca912adb02f1a92acd0fe5f018c629a6dc Mon Sep 17 00:00:00 2001 From: Suso <126153639+5uso-sng@users.noreply.github.com> Date: Mon, 15 May 2023 11:50:08 +0200 Subject: [PATCH] #379 Enable batch mode in deployment (#380) * #379 Enable batch mode in deployment * Ensure label warn runs when approved --- .github/workflows/maven-central-push.yml | 2 +- .github/workflows/maven-pr-review.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-central-push.yml b/.github/workflows/maven-central-push.yml index a580a8eb..b2665d60 100644 --- a/.github/workflows/maven-central-push.yml +++ b/.github/workflows/maven-central-push.yml @@ -37,7 +37,7 @@ jobs: gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Publish to Maven Central Packages - run: mvn deploy --file pom-maven-central.xml + run: mvn deploy -B --file pom-maven-central.xml env: MAVEN_USERNAME: ${{ secrets.JIRAID }} MAVEN_CENTRAL_TOKEN: ${{ secrets.JIRAPASS }} diff --git a/.github/workflows/maven-pr-review.yml b/.github/workflows/maven-pr-review.yml index 3d8fb842..5556f6ab 100644 --- a/.github/workflows/maven-pr-review.yml +++ b/.github/workflows/maven-pr-review.yml @@ -9,7 +9,7 @@ concurrency: pr-${{ github.event.pull_request.id }} jobs: check-labels: runs-on: ubuntu-latest - if: github.event.pull_request.mergeable == true && github.event.review.state == 'approved' + if: github.event.review.state == 'approved' steps: - name: Warn about missing labels if: ${{ !contains(github.event.pull_request.labels.*.name, 'release') && !contains(github.event.pull_request.labels.*.name, 'documentation') }}