diff --git a/.appveyor.yml b/.appveyor.yml index d2dd2c9e15..037c8d6df6 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -11,6 +11,7 @@ clone_depth: 10 platform: - x64 skip_commits: + message: /^\[DOC\]/ files: - doc/* - '**/*.md' diff --git a/.github/workflows/baseruby.yml b/.github/workflows/baseruby.yml index 24b867c7fc..4e5e40d77c 100644 --- a/.github/workflows/baseruby.yml +++ b/.github/workflows/baseruby.yml @@ -20,6 +20,7 @@ jobs: baseruby: name: BASERUBY runs-on: ubuntu-20.04 + if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }} strategy: matrix: ruby: diff --git a/.github/workflows/check_dependencies.yml b/.github/workflows/check_dependencies.yml index c68e49a464..35fd299554 100644 --- a/.github/workflows/check_dependencies.yml +++ b/.github/workflows/check_dependencies.yml @@ -22,6 +22,7 @@ jobs: os: [ubuntu-20.04] fail-fast: true runs-on: ${{ matrix.os }} + if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }} steps: - name: Install libraries run: | diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d22da8e481..486f4a3b5a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -23,6 +23,7 @@ jobs: # CodeQL runs on ubuntu-latest and windows-latest runs-on: ubuntu-latest + if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }} env: enable_install_doc: no diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index 2c2b6598f7..23529e5036 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -188,6 +188,7 @@ jobs: container: image: ghcr.io/ruby/ruby-ci-image:${{ matrix.entry.container || 'clang-14' }} options: --user root + if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }} steps: - run: id working-directory: diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index c2db3df1ad..b93c653eb3 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -42,6 +42,7 @@ jobs: base_ruby: head test_task: [ "check" ] # to make job names consistent fail-fast: false + if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }} steps: - run: mkdir build working-directory: diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml index 0578104c7f..540c8e9c80 100644 --- a/.github/workflows/mjit.yml +++ b/.github/workflows/mjit.yml @@ -23,6 +23,7 @@ jobs: jit_opts: [ "--mjit", "--mjit-wait" ] fail-fast: false runs-on: ubuntu-latest + if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }} env: TESTOPTS: '-q --tty=no' RUN_OPTS: '--disable-gems ${{ matrix.jit_opts }} --mjit-debug=-ggdb3' diff --git a/.github/workflows/spec_guards.yml b/.github/workflows/spec_guards.yml index 79ef8a6cc0..27acbdad12 100644 --- a/.github/workflows/spec_guards.yml +++ b/.github/workflows/spec_guards.yml @@ -20,6 +20,7 @@ jobs: rubyspec: name: Rubyspec runs-on: ubuntu-20.04 + if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }} strategy: matrix: # Specs from ruby/spec should still run on all supported Ruby versions. diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index e63e12ac0e..1c3f27eaef 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -36,6 +36,7 @@ jobs: GITPULLOPTIONS: --no-tags origin ${{github.ref}} RUBY_DEBUG: ci runs-on: ${{ matrix.os }} + if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }} steps: - run: mkdir build working-directory: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 60f9b760ec..79f9dd3be2 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -28,6 +28,7 @@ jobs: # vcvars: '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"' fail-fast: false runs-on: ${{ matrix.os }} + if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }} name: VisualStudio ${{ matrix.vs }} env: GITPULLOPTIONS: --no-tags origin ${{github.ref}} diff --git a/.github/workflows/yjit-ubuntu.yml b/.github/workflows/yjit-ubuntu.yml index 966f9fd1c7..9e19323cf8 100644 --- a/.github/workflows/yjit-ubuntu.yml +++ b/.github/workflows/yjit-ubuntu.yml @@ -43,6 +43,7 @@ jobs: RUN_OPTS: ${{ matrix.yjit_opts }} RUBY_DEBUG: ci runs-on: ${{ matrix.os }} + if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }} steps: - run: mkdir build working-directory: diff --git a/.github/workflows/yjit_asm_tests.yml b/.github/workflows/yjit_asm_tests.yml index 58f294f137..e79948217f 100644 --- a/.github/workflows/yjit_asm_tests.yml +++ b/.github/workflows/yjit_asm_tests.yml @@ -19,6 +19,7 @@ concurrency: jobs: test: runs-on: ubuntu-latest + if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }} steps: - name: Install dependencies run: | diff --git a/.travis.yml b/.travis.yml index eb816b815b..0255e9611f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,8 @@ language: c os: linux +if: commit_message !~ /^\[DOC\]/ + dist: focal git: