summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-04-24 01:46:19 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-04-24 01:46:19 -0600
commitce711802d67d5b9241e60eb52abfcb606ed44368 (patch)
tree663a182095d6e40cf7c98980a06c50819adbd3ab /.github/workflows
parent9d04149ba44dd2772f9b762976c6abfa67d88d89 (diff)
don't run main CI workflow on docs PRs [no ci]
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index acc9c29c..470c90f9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -13,7 +13,8 @@ jobs:
activate:
if: |
(github.event_name == 'schedule' && github.repository_owner == 'asciidoctor') ||
- github.event_name != 'schedule'
+ (github.event_name == 'push') ||
+ (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'docs/'))
runs-on: ubuntu-latest
steps:
- name: Proceed