unbreak CI: fix logic for skipping ci (#15556)

This commit is contained in:
Timothee Cour
2020-10-12 12:04:40 -07:00
committed by GitHub
parent 9668a1106d
commit 30b966bdf7
3 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ on:
jobs:
build:
if: |
!contains(format('{0} {1} {2}', github.event.head_commit.message, github.event.pull_request.title), '[skip ci]')
!contains(format('{0} {1}', github.event.head_commit.message, github.event.pull_request.title), '[skip ci]')
strategy:
fail-fast: false
matrix:

View File

@@ -4,7 +4,7 @@ on: [push, pull_request]
jobs:
build:
if: |
!contains(format('{0} {1} {2}', github.event.head_commit.message, github.event.pull_request.title), '[skip ci]')
!contains(format('{0} {1}', github.event.head_commit.message, github.event.pull_request.title), '[skip ci]')
strategy:
fail-fast: false
matrix:

View File

@@ -13,7 +13,7 @@ on:
jobs:
build:
if: |
!contains(format('{0} {1} {2}', github.event.head_commit.message, github.event.pull_request.title), '[skip ci]')
!contains(format('{0} {1}', github.event.head_commit.message, github.event.pull_request.title), '[skip ci]')
strategy:
fail-fast: false
matrix: