diff --git a/.github/workflows/sonatype.yaml b/.github/workflows/sonatype.yaml index 207e7488..f9c3c9b0 100644 --- a/.github/workflows/sonatype.yaml +++ b/.github/workflows/sonatype.yaml @@ -23,7 +23,7 @@ on: jobs: build: - if: github.repository_owner == 'mybatis' + if: github.repository_owner == 'mybatis' && ! contains(toJSON(github.event.head_commit.message), '[maven-release-plugin]') runs-on: ubuntu-latest steps: - uses: actions/checkout@v2