summaryrefslogtreecommitdiff
path: root/.github/workflows/windows.yml
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-18 12:31:43 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-18 13:06:15 +0900
commit922a81a99418c992f4039b27a8341f2ee96d2d0c (patch)
treed2028a8f09b506c3e8840c82ca945fe1455f0e98 /.github/workflows/windows.yml
parent629c8f12aec87cc938ae1383b3c8fb449c185b39 (diff)
Skip tests on pull requests labeled as Documentation
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5293
Diffstat (limited to '.github/workflows/windows.yml')
-rw-r--r--.github/workflows/windows.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 79f9dd3be2..574bfbf474 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -28,7 +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]') }}
+ if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
name: VisualStudio ${{ matrix.vs }}
env:
GITPULLOPTIONS: --no-tags origin ${{github.ref}}