From a8a6ade4ca206a9581fc5712904e2ac1709f2da3 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Sun, 24 Apr 2022 16:36:50 -0700 Subject: [PATCH] ci: add skip hooks to github actions --- .github/workflows/CI.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4c3f6b41..b3cd0b4d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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: