From 9dda3f3f6b8d50692bae3fc149de388588cfefa7 Mon Sep 17 00:00:00 2001 From: Suso Date: Mon, 15 May 2023 10:34:43 +0200 Subject: [PATCH 1/2] #379 Enable batch mode in deployment --- .github/workflows/maven-central-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }} From c7365ba8870e868379cdce933b3efcd74d24b91b Mon Sep 17 00:00:00 2001 From: Suso Date: Mon, 15 May 2023 11:05:02 +0200 Subject: [PATCH 2/2] Ensure label warn runs when approved --- .github/workflows/maven-pr-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') }}