Fix for 'chore:' CI criteria

This commit is contained in:
Patrik Svensson 2022-07-01 12:42:24 +02:00
parent 47ef9a685e
commit 45a051150f

View File

@ -21,8 +21,8 @@ jobs:
build:
name: Build
if: |
(!contains(github.event.head_commit.message, 'skip-ci')
&& !contains(github.event.head_commit.message, 'chore'))
(!startsWith(github.event.head_commit.message, 'skip-ci')
&& !startsWith(github.event.head_commit.message, 'chore:'))
|| startsWith(github.ref, 'refs/tags/')
strategy:
matrix: