From 4da809a47359fe2d5d88a278e85fa89776d3af7b Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Mon, 16 May 2022 19:32:46 -0600 Subject: don't run CI if HEAD commit message starts with [docs] [no ci] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5974fab..2a69a9aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: activate: if: | (github.event_name == 'schedule' && github.repository_owner == 'asciidoctor') || - (github.event_name == 'push') || + (github.event_name == 'push' && !startsWith(github.event.head_commit.message, '[docs]')) || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'docs/')) runs-on: ubuntu-latest steps: -- cgit v1.2.3