If the commit contains "ci skip" don't run ci.

This commit is contained in:
Greyscale 2020-12-02 12:37:15 +01:00
parent 495269d905
commit e63e770c4f
No known key found for this signature in database
GPG key ID: C6178C19949CFFE3

View file

@ -10,6 +10,7 @@ jobs:
lint:
name: Lint docker files
runs-on: ubuntu-20.04
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@master
- uses: brpaz/hadolint-action@master
@ -17,6 +18,7 @@ jobs:
build-marshall:
needs: [lint]
runs-on: ubuntu-20.04
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@v1
- uses: docker/setup-qemu-action@v1
@ -51,6 +53,7 @@ jobs:
build-php:
needs: [lint]
runs-on: ubuntu-20.04
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
fail-fast: false
matrix: