summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-05-16 19:32:46 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-05-16 19:33:16 -0600
commit4da809a47359fe2d5d88a278e85fa89776d3af7b (patch)
treeca3785e76f55c7bf7243beb37f15a00c8c3fbded /.github/workflows
parent483bec2d6faa730e03b39ba627207ba66196cf6b (diff)
don't run CI if HEAD commit message starts with [docs] [no ci]
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
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: