From b5414169c9ad22c88d06e5944383e975c97b1b24 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Tue, 1 Dec 2020 22:44:32 -0500 Subject: [PATCH] [actions] Don't run sonatype upon release commits as ran separately --- .github/workflows/sonatype.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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