diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-06-19 11:05:31 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-06-19 11:05:31 +0900 |
commit | 504728307069d49994541c91769bc90444a4fce5 (patch) | |
tree | 65c9a379b54b1c7a9c62a8edacba403b4c1a3470 /.github/workflows/ubuntu.yml | |
parent | 95a25e0441dd402afde577303b1a1e545e85a831 (diff) |
Skip CIs if the head commit message contains '[DOC]'
Diffstat (limited to '.github/workflows/ubuntu.yml')
-rw-r--r-- | .github/workflows/ubuntu.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index b7097cca53..4aa87258f9 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -37,7 +37,7 @@ jobs: GITPULLOPTIONS: --no-tags origin ${{github.ref}} RUBY_DEBUG: ci runs-on: ${{ matrix.os || 'ubuntu-20.04' }} - if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }} + if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }} steps: - run: mkdir build working-directory: |