Skip to content

Commit eda7cd3

Browse files
authored
Merge pull request #275 from hazendaz/master
[actions] Don't run sonatype upon release commits as ran separately
2 parents 45a281c + b541416 commit eda7cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sonatype.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323

2424
jobs:
2525
build:
26-
if: github.repository_owner == 'mybatis'
26+
if: github.repository_owner == 'mybatis' && ! contains(toJSON(github.event.head_commit.message), '[maven-release-plugin]')
2727
runs-on: ubuntu-latest
2828
steps:
2929
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)