ci: add skip hooks to github actions

This commit is contained in:
Amin Yahyaabadi 2022-04-24 16:36:50 -07:00
parent 0646930b89
commit a8a6ade4ca
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ on:
jobs:
Test:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
@ -81,6 +81,7 @@ jobs:
continue-on-error: ${{ contains(matrix.os, 'ubuntu-18.04') }}
Docker:
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip docker]') }}
runs-on: ${{ matrix.os }}
strategy:
matrix: