mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Skip CIs if the head commit message contains '[DOC]'
This commit is contained in:
		
							parent
							
								
									95a25e0441
								
							
						
					
					
						commit
						5047283070
					
				
					 13 changed files with 13 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -11,7 +11,7 @@ clone_depth: 10
 | 
			
		|||
platform:
 | 
			
		||||
  - x64
 | 
			
		||||
skip_commits:
 | 
			
		||||
  message: /^\[DOC\]/
 | 
			
		||||
  message: /\[DOC\]/
 | 
			
		||||
  files:
 | 
			
		||||
    - doc/*
 | 
			
		||||
    - '**/*.md'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/baseruby.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/baseruby.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -20,7 +20,7 @@ jobs:
 | 
			
		|||
  baseruby:
 | 
			
		||||
    name: BASERUBY
 | 
			
		||||
    runs-on: 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') }}
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        ruby:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/check_dependencies.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/check_dependencies.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -22,7 +22,7 @@ jobs:
 | 
			
		|||
        os: [ubuntu-20.04]
 | 
			
		||||
      fail-fast: true
 | 
			
		||||
    runs-on: ${{ matrix.os }}
 | 
			
		||||
    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:
 | 
			
		||||
      - name: Install libraries
 | 
			
		||||
        run: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/codeql-analysis.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/codeql-analysis.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -23,7 +23,7 @@ jobs:
 | 
			
		|||
 | 
			
		||||
    # CodeQL runs on ubuntu-latest and windows-latest
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    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') }}
 | 
			
		||||
 | 
			
		||||
    env:
 | 
			
		||||
      enable_install_doc: no
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/compilers.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/compilers.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -212,7 +212,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]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
 | 
			
		||||
    if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
 | 
			
		||||
    env: ${{ matrix.entry.env || matrix.env }}
 | 
			
		||||
    steps:
 | 
			
		||||
      - run: id
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/mingw.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/mingw.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -42,7 +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]') && !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:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/mjit.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/mjit.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -23,7 +23,7 @@ jobs:
 | 
			
		|||
        jit_opts: [ "--mjit", "--mjit-wait" ]
 | 
			
		||||
      fail-fast: false
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    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') }}
 | 
			
		||||
    env:
 | 
			
		||||
      TESTOPTS: '-q --tty=no'
 | 
			
		||||
      RUN_OPTS: '--disable-gems ${{ matrix.jit_opts }} --mjit-debug=-ggdb3'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/spec_guards.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/spec_guards.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -20,7 +20,7 @@ jobs:
 | 
			
		|||
  rubyspec:
 | 
			
		||||
    name: Rubyspec
 | 
			
		||||
    runs-on: 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') }}
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        # Specs from ruby/spec should still run on all supported Ruby versions.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/ubuntu.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ubuntu.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -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:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/wasm.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/wasm.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -38,7 +38,7 @@ jobs:
 | 
			
		|||
      BINARYEN_VERSION: 91
 | 
			
		||||
      WASMTIME_VERSION: v0.33.0
 | 
			
		||||
    runs-on: 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:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/windows.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/windows.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -24,7 +24,7 @@ jobs:
 | 
			
		|||
          - vs: 2022
 | 
			
		||||
      fail-fast: false
 | 
			
		||||
    runs-on: windows-${{ matrix.vs < 2022 && '2019' || matrix.vs }}
 | 
			
		||||
    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') }}
 | 
			
		||||
    name: VisualStudio ${{ matrix.vs }}
 | 
			
		||||
    env:
 | 
			
		||||
      GITPULLOPTIONS: --no-tags origin ${{github.ref}}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/yjit-ubuntu.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/yjit-ubuntu.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -62,7 +62,7 @@ jobs:
 | 
			
		|||
      RUN_OPTS: ${{ matrix.yjit_opts }}
 | 
			
		||||
      RUBY_DEBUG: ci
 | 
			
		||||
    runs-on: 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:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,7 +13,7 @@ language: c
 | 
			
		|||
 | 
			
		||||
os: linux
 | 
			
		||||
 | 
			
		||||
if: commit_message !~ /^\[DOC\]/
 | 
			
		||||
if: commit_message !~ /\[DOC\]/
 | 
			
		||||
 | 
			
		||||
dist: focal
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue