From 0ed3baddf2153bbf5205205ae0134edaa9a9ef5f Mon Sep 17 00:00:00 2001 From: pukkandan Date: Mon, 11 Jan 2021 23:17:15 +0530 Subject: [PATCH] [CI] Option to skip :skip ci all --- .github/workflows/ci.yml | 1 + .github/workflows/quick-test.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a2b7a70b..a01adb15f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,7 @@ on: [push] jobs: tests: name: Tests + if: "!contains(github.event.head_commit.message, 'skip ci')" runs-on: ${{ matrix.os }} strategy: fail-fast: true diff --git a/.github/workflows/quick-test.yml b/.github/workflows/quick-test.yml index cd1e79930..564b9daf4 100644 --- a/.github/workflows/quick-test.yml +++ b/.github/workflows/quick-test.yml @@ -3,6 +3,7 @@ on: [push] jobs: tests: name: Core Tests + if: "!contains(github.event.head_commit.message, 'skip ci all')" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -18,6 +19,7 @@ jobs: run: ./devscripts/run_tests.sh flake8: name: Linter + if: "!contains(github.event.head_commit.message, 'skip ci all')" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2