Skip to content

Commit

Permalink
#379 Enable batch mode in deployment (#380)
Browse files Browse the repository at this point in the history
* #379 Enable batch mode in deployment

* Ensure label warn runs when approved
  • Loading branch information
5uso-sng authored May 15, 2023
1 parent 55db8fc commit 0464bbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-central-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-pr-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down

0 comments on commit 0464bbc

Please sign in to comment.