From 07cb4964776eb5fdefe576b293c0d9427e06bf3c Mon Sep 17 00:00:00 2001 From: meganrm Date: Tue, 2 Apr 2024 15:35:11 -0700 Subject: [PATCH] add check to workflows --- .github/workflows/analyze.yml | 1 + .github/workflows/build-docs.yml | 1 + .github/workflows/ci.yml | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index f36db5b38..0333e708a 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -8,6 +8,7 @@ on: jobs: Analyze: + if: ${{ !contains(github.event.head_commit.message, 'Bump version') }} runs-on: ${{ matrix.os }} strategy: matrix: diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index f7932bf24..c4388350a 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -7,6 +7,7 @@ on: jobs: docs: + if: ${{ !contains(github.event.head_commit.message, 'Bump version') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.1 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa2c7af3f..a080c60d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,7 @@ on: jobs: test: + if: ${{ !contains(github.event.head_commit.message, 'Bump version') }} runs-on: ${{ matrix.os }} strategy: matrix: @@ -46,7 +47,7 @@ jobs: lint: runs-on: ubuntu-latest - + if: ${{ !contains(github.event.head_commit.message, 'Bump version') }} steps: - uses: actions/checkout@v4 - name: Set up Python