diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-13 13:17:44 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-13 19:08:50 +0900 |
commit | e098468d7f91d2bfebf24597fb0f66bcbb78d9c3 (patch) | |
tree | 58dc5d20601e856a74b79853fc0791aa10c57c0d /.github/workflows/macos.yml | |
parent | 9c1fe9064c56cef3bde856d7fa1f907195af1003 (diff) |
Let `[DOC]` in PR title skip CIs
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8065
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r-- | .github/workflows/macos.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index f6d5c2cc6a..16d4199ea2 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -47,7 +47,12 @@ jobs: runs-on: ${{ matrix.os }} - if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }} + if: >- + ${{!(false + || contains(github.event.head_commit.message, '[DOC]') + || contains(github.event.pull_request.title, '[DOC]') + || contains(github.event.pull_request.labels.*.name, 'Documentation') + )}} steps: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 |