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 | |
parent | 9c1fe9064c56cef3bde856d7fa1f907195af1003 (diff) |
Let `[DOC]` in PR title skip CIs
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8065
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/annocheck.yml | 7 | ||||
-rw-r--r-- | .github/workflows/baseruby.yml | 7 | ||||
-rw-r--r-- | .github/workflows/check_dependencies.yml | 7 | ||||
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 7 | ||||
-rw-r--r-- | .github/workflows/compilers.yml | 7 | ||||
-rw-r--r-- | .github/workflows/macos.yml | 7 | ||||
-rw-r--r-- | .github/workflows/mingw.yml | 7 | ||||
-rw-r--r-- | .github/workflows/rjit-bindgen.yml | 7 | ||||
-rw-r--r-- | .github/workflows/rjit.yml | 7 | ||||
-rw-r--r-- | .github/workflows/spec_guards.yml | 7 | ||||
-rw-r--r-- | .github/workflows/ubuntu.yml | 7 | ||||
-rw-r--r-- | .github/workflows/wasm.yml | 7 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 7 | ||||
-rw-r--r-- | .github/workflows/yjit-ubuntu.yml | 7 |
14 files changed, 84 insertions, 14 deletions
diff --git a/.github/workflows/annocheck.yml b/.github/workflows/annocheck.yml index 211dfbdac4..76489f1885 100644 --- a/.github/workflows/annocheck.yml +++ b/.github/workflows/annocheck.yml @@ -40,7 +40,12 @@ jobs: image: ghcr.io/ruby/ruby-ci-image:gcc-11 options: --user root - 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') + )}} env: CONFIGURE_TTY: never diff --git a/.github/workflows/baseruby.yml b/.github/workflows/baseruby.yml index 7d461fa809..b5455f5bc9 100644 --- a/.github/workflows/baseruby.yml +++ b/.github/workflows/baseruby.yml @@ -36,7 +36,12 @@ jobs: runs-on: ubuntu-20.04 - 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') + )}} strategy: matrix: diff --git a/.github/workflows/check_dependencies.yml b/.github/workflows/check_dependencies.yml index 29bd489efc..65ba10b7a2 100644 --- a/.github/workflows/check_dependencies.yml +++ b/.github/workflows/check_dependencies.yml @@ -38,7 +38,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 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 768eb01d77..28142e8e0e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,7 +36,12 @@ jobs: contents: read # for actions/checkout to fetch code security-events: write # for github/codeql-action/autobuild to send a status report # CodeQL fails to run pull requests from dependabot due to missing write access to upload results. - if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') && github.event.head_commit.pusher.name != 'dependabot[bot]' }} + if: >- + ${{!(false + || contains(github.event.head_commit.message, '[DOC]') + || contains(github.event.pull_request.title, '[DOC]') + || contains(github.event.pull_request.labels.*.name, 'Documentation') + )}} env: enable_install_doc: no diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index cb87c6601d..56cdaf2bb0 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -218,7 +218,12 @@ jobs: image: ghcr.io/ruby/ruby-ci-image:${{ matrix.entry.container || matrix.entry.env.default_cc || 'clang-16' }} options: --user root - 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') + )}} env: ${{ matrix.entry.env || matrix.env }} 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 diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 2017c478fd..b7387d0fcf 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -58,7 +58,12 @@ jobs: test-all-opts: '--name=!/TestObjSpace#test_reachable_objects_during_iteration/' fail-fast: false - 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: - name: Set up Ruby & MSYS2 diff --git a/.github/workflows/rjit-bindgen.yml b/.github/workflows/rjit-bindgen.yml index 3c8043b9b4..cb777c0697 100644 --- a/.github/workflows/rjit-bindgen.yml +++ b/.github/workflows/rjit-bindgen.yml @@ -39,7 +39,12 @@ jobs: runs-on: ubuntu-20.04 - 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: - name: Set up Ruby diff --git a/.github/workflows/rjit.yml b/.github/workflows/rjit.yml index 22aa695709..4d9062f1bd 100644 --- a/.github/workflows/rjit.yml +++ b/.github/workflows/rjit.yml @@ -49,7 +49,12 @@ jobs: runs-on: ubuntu-22.04 - 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 diff --git a/.github/workflows/spec_guards.yml b/.github/workflows/spec_guards.yml index 79d375c703..4a5ff9a90f 100644 --- a/.github/workflows/spec_guards.yml +++ b/.github/workflows/spec_guards.yml @@ -27,7 +27,12 @@ jobs: runs-on: ubuntu-20.04 - 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') + )}} strategy: matrix: diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 7f50e25dfa..2e3f228aec 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -55,7 +55,12 @@ jobs: runs-on: ubuntu-20.04 - 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 diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index f40543a538..496d5fc892 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -54,7 +54,12 @@ jobs: runs-on: ubuntu-20.04 - 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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 2f706c09f2..0c02de7858 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -40,7 +40,12 @@ jobs: runs-on: windows-${{ matrix.vs < 2022 && '2019' || matrix.vs }} - 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') + )}} name: VisualStudio ${{ matrix.vs }} diff --git a/.github/workflows/yjit-ubuntu.yml b/.github/workflows/yjit-ubuntu.yml index b273fd6ac3..b9660f6aca 100644 --- a/.github/workflows/yjit-ubuntu.yml +++ b/.github/workflows/yjit-ubuntu.yml @@ -109,7 +109,12 @@ jobs: runs-on: ubuntu-20.04 - 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 |