Allow to skip the GitHub Actions
This commit is contained in:
parent
18f3cb8571
commit
13d372411e
4
.github/workflows/CI.yml
vendored
4
.github/workflows/CI.yml
vendored
|
|
@ -12,6 +12,7 @@ jobs:
|
||||||
twig:
|
twig:
|
||||||
name: Twig Linting
|
name: Twig Linting
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: "!contains(github.event.head_commit.message, 'skip ci')"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
|
@ -26,6 +27,7 @@ jobs:
|
||||||
php:
|
php:
|
||||||
name: PHP ${{ matrix.php }} Tests
|
name: PHP ${{ matrix.php }} Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: "!contains(github.event.head_commit.message, 'skip ci')"
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -76,6 +78,7 @@ jobs:
|
||||||
lint:
|
lint:
|
||||||
name: Frontend Linting
|
name: Frontend Linting
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: "!contains(github.event.head_commit.message, 'skip ci')"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
|
@ -88,6 +91,7 @@ jobs:
|
||||||
jest:
|
jest:
|
||||||
name: Frontend Tests
|
name: Frontend Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: "!contains(github.event.head_commit.message, 'skip ci')"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user