Skip to content

Commit 18e3964

Browse files
committed
skip build if commit message contains "[skip ci]"
1 parent b48ce80 commit 18e3964

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
build:
6262
name: fail-fast-build
6363
runs-on: ubuntu-latest
64-
64+
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
6565
steps:
6666
- name: Checkout
6767
uses: actions/checkout@v3
@@ -81,7 +81,7 @@ jobs:
8181
name: ${{ matrix.os }} jdk-${{ matrix.jdk }}-${{ matrix.distribution }}
8282

8383
runs-on: ${{ matrix.os }}
84-
84+
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
8585
strategy:
8686
fail-fast: true
8787
matrix:

0 commit comments

Comments
 (0)