From 504728307069d49994541c91769bc90444a4fce5 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 19 Jun 2022 11:05:31 +0900 Subject: Skip CIs if the head commit message contains '[DOC]' --- .github/workflows/ubuntu.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/ubuntu.yml') 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: -- cgit v1.2.3