mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Throttle GitHub Actions [ci skip]
As GitHub Actions are choking a lot lately, throttle the checks down to the latest commit only per branches.
This commit is contained in:
		
							parent
							
								
									89b440bf72
								
							
						
					
					
						commit
						e2b78440ba
					
				
					 12 changed files with 48 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								.github/workflows/baseruby.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/baseruby.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -12,6 +12,10 @@ on:
 | 
			
		|||
      - '**.md'
 | 
			
		||||
      - '**.rdoc'
 | 
			
		||||
 | 
			
		||||
concurrency:
 | 
			
		||||
  group: ${{ github.workflow }} / ${{ github.ref_name }}
 | 
			
		||||
  cancel-in-progress: true
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  baseruby:
 | 
			
		||||
    name: BASERUBY
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								.github/workflows/check_dependencies.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/check_dependencies.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -11,6 +11,10 @@ on:
 | 
			
		|||
      - '**.md'
 | 
			
		||||
      - '**.rdoc'
 | 
			
		||||
 | 
			
		||||
concurrency:
 | 
			
		||||
  group: ${{ github.workflow }} / ${{ github.ref_name }}
 | 
			
		||||
  cancel-in-progress: true
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  update-deps:
 | 
			
		||||
    strategy:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								.github/workflows/check_misc.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/check_misc.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1,6 +1,10 @@
 | 
			
		|||
name: Miscellaneous checks
 | 
			
		||||
on: [push, pull_request]
 | 
			
		||||
 | 
			
		||||
concurrency:
 | 
			
		||||
  group: ${{ github.workflow }} / ${{ github.ref_name }}
 | 
			
		||||
  cancel-in-progress: true
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  checks:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								.github/workflows/codeql-analysis.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/codeql-analysis.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -14,6 +14,10 @@ on:
 | 
			
		|||
  schedule:
 | 
			
		||||
    - cron: '0 12 * * 4'
 | 
			
		||||
 | 
			
		||||
concurrency:
 | 
			
		||||
  group: ${{ github.workflow }} / ${{ github.ref_name }}
 | 
			
		||||
  cancel-in-progress: true
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  CodeQL-Build:
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								.github/workflows/compilers.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/compilers.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -12,6 +12,10 @@ on:
 | 
			
		|||
      - '**.md'
 | 
			
		||||
      - '**.rdoc'
 | 
			
		||||
 | 
			
		||||
concurrency:
 | 
			
		||||
  group: ${{ github.workflow }} / ${{ github.ref_name }}
 | 
			
		||||
  cancel-in-progress: true
 | 
			
		||||
 | 
			
		||||
# Github actions does not support YAML anchors.  This creative use of
 | 
			
		||||
# environment variables (plus the "echo $GITHUB_ENV" hack) is to reroute that
 | 
			
		||||
# restriction.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								.github/workflows/mingw.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/mingw.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -11,6 +11,10 @@ on:
 | 
			
		|||
      - '**.md'
 | 
			
		||||
      - '**.rdoc'
 | 
			
		||||
 | 
			
		||||
concurrency:
 | 
			
		||||
  group: ${{ github.workflow }} / ${{ github.ref_name }}
 | 
			
		||||
  cancel-in-progress: true
 | 
			
		||||
 | 
			
		||||
# Notes:
 | 
			
		||||
# Actions console encoding causes issues, see test-all & test-spec steps
 | 
			
		||||
#
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								.github/workflows/mjit.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/mjit.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -11,6 +11,10 @@ on:
 | 
			
		|||
      - '**.md'
 | 
			
		||||
      - '**.rdoc'
 | 
			
		||||
 | 
			
		||||
concurrency:
 | 
			
		||||
  group: ${{ github.workflow }} / ${{ github.ref_name }}
 | 
			
		||||
  cancel-in-progress: true
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  make:
 | 
			
		||||
    strategy:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								.github/workflows/spec_guards.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/spec_guards.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -12,6 +12,10 @@ on:
 | 
			
		|||
      - '**.md'
 | 
			
		||||
      - '**.rdoc'
 | 
			
		||||
 | 
			
		||||
concurrency:
 | 
			
		||||
  group: ${{ github.workflow }} / ${{ github.ref_name }}
 | 
			
		||||
  cancel-in-progress: true
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  rubyspec:
 | 
			
		||||
    name: Rubyspec
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								.github/workflows/ubuntu.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/ubuntu.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -11,6 +11,10 @@ on:
 | 
			
		|||
      - '**.md'
 | 
			
		||||
      - '**.rdoc'
 | 
			
		||||
 | 
			
		||||
concurrency:
 | 
			
		||||
  group: ${{ github.workflow }} / ${{ github.ref_name }}
 | 
			
		||||
  cancel-in-progress: true
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  make:
 | 
			
		||||
    strategy:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								.github/workflows/windows.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/windows.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -11,6 +11,10 @@ on:
 | 
			
		|||
      - '**.md'
 | 
			
		||||
      - '**.rdoc'
 | 
			
		||||
 | 
			
		||||
concurrency:
 | 
			
		||||
  group: ${{ github.workflow }} / ${{ github.ref_name }}
 | 
			
		||||
  cancel-in-progress: true
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  make:
 | 
			
		||||
    strategy:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								.github/workflows/yjit-ubuntu.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/yjit-ubuntu.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -11,6 +11,10 @@ on:
 | 
			
		|||
      - '**.md'
 | 
			
		||||
      - '**.rdoc'
 | 
			
		||||
 | 
			
		||||
concurrency:
 | 
			
		||||
  group: ${{ github.workflow }} / ${{ github.ref_name }}
 | 
			
		||||
  cancel-in-progress: true
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  make:
 | 
			
		||||
    strategy:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								.github/workflows/yjit_asm_tests.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/yjit_asm_tests.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -12,6 +12,10 @@ on:
 | 
			
		|||
      - '**.md'
 | 
			
		||||
      - '**.rdoc'
 | 
			
		||||
 | 
			
		||||
concurrency:
 | 
			
		||||
  group: ${{ github.workflow }} / ${{ github.ref_name }}
 | 
			
		||||
  cancel-in-progress: true
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  test:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue