I don’t understand why in some of my yaml workflow builds this is fine but in some it complains saying this if statement is invalid syntax
name: build-client
on:
pull_request:
types: [closed]
branches:
- master
jobs:
if: "!contains(github.event.commits[0].message, '[skip client ci]')"
build:
name: Build Server & Client