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') }}