followup #17561, skipping ci now implies green (#17813)

* followup #17561, skip ci now implies green; [skip ci]
* fixup [skip ci]
* fixup test without skip ci
* fixup [skip ci]
* fixup2 [skip ci]
* github actions now automatically supports [skip ci]
This commit is contained in:
Timothee Cour 2021-04-23 01:05:23 -07:00 • committed by GitHub
commit dbb053492a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 44 additions and 33 deletions

View file

@ -30,9 +30,6 @@ on:
jobs:
build:
# see D20210329T004830
if: |
!contains(format('{0}', github.event.pull_request.title), '[skip ci]')
strategy:
fail-fast: false
matrix:
@ -54,14 +51,6 @@ jobs:
with:
fetch-depth: 2
- name: 'Check whether to skip CI'
shell: bash
run: |
# see D20210329T004830
commitMsg=$(git log --no-merges -1 --pretty=format:"%s")
echo commitMsg: $commitMsg
echo $commitMsg | grep -v '\[skip ci\]'
- name: 'Install build dependencies (macOS)'
if: runner.os == 'macOS'
run: brew install make