Allow for skipping CI [ci skip]

This commit is contained in:
Oliver Davies 2020-11-27 21:37:41 +00:00
parent 1c74690e4e
commit 9a57445eec
2 changed files with 12 additions and 0 deletions

View file

@ -12,6 +12,8 @@ jobs:
name: Test Drupal site installation
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Checkout code
uses: actions/checkout@a81bbbf
@ -62,6 +64,8 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
theme-path:
@ -93,6 +97,8 @@ jobs:
name: "Run ${{ matrix.test-types }} tests"
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
test-types:
@ -140,6 +146,8 @@ jobs:
name: "Run coding standards checks"
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Checkout code
uses: actions/checkout@a81bbbf
@ -172,6 +180,8 @@ jobs:
name: Static analysis with PHPStan
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Checkout code
uses: actions/checkout@a81bbbf

View file

@ -13,6 +13,8 @@ jobs:
name: Deploy via Ansible
if: "!contains(github.event.head_commit.message, '[ci skip]')"
env:
ANSIBLE_FORCE_COLOR: 1
ANSIBLE_HOST_KEY_CHECKING: no