diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2022-10-14 20:06:39 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2022-10-14 20:07:55 -0600 |
| commit | 5b192ebf899e11248eb3ce6aeb50df2a23672378 (patch) | |
| tree | 780d1e77971cf78ee78244382733686f5898957b /.github | |
| parent | faa8a456feec01911d99f87cd0dc1eeb5c17985c (diff) | |
don't run CI on PR that originates from a branch that starts with docs/
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f78111b1..88788333 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,8 @@ jobs: activate: if: | (github.event_name == 'schedule' && github.repository_owner == 'asciidoctor') || - (github.event_name != 'schedule' && !endsWith(github.event.head_commit.message, '[skip ci]')) + github.event_name == 'push' || github.event_name == 'workflow_dispatch' || + (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'docs/')) runs-on: ubuntu-latest steps: - name: Proceed |
