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