From 07e1eb1f275c7d18f3987d92b7c116716147ab2e Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Thu, 17 Sep 2020 20:30:26 +0530 Subject: [PATCH] Use commit message flag to control workflows --- .github/workflows/ci.yml | 1 + .github/workflows/third-party.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6252332a..52920c05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ on: jobs: ci: + if: "!contains(github.event.commits[0].message, '[ci skip]')" name: 'SUITE: ${{ matrix.test_suite }} / OS: ${{ matrix.os }}' runs-on: ${{ matrix.os }} strategy: diff --git a/.github/workflows/third-party.yml b/.github/workflows/third-party.yml index 137bc432..be40fe90 100644 --- a/.github/workflows/third-party.yml +++ b/.github/workflows/third-party.yml @@ -9,6 +9,7 @@ on: - master jobs: build_n_profile: + if: "!contains(github.event.commits[0].message, '[ci skip]')" runs-on: 'ubuntu-latest' steps: - name: Checkout Jekyll