mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-01 03:26:36 +08:00 
			
		
		
		
	Cancel jobs in progress when PR is updated (#19801)
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @ -7,6 +7,10 @@ env: | ||||
|   PHPUNIT_EXCLUDE_GROUP: mssql,oci,wincache,xcache,zenddata,cubrid | ||||
|   XDEBUG_MODE: coverage, develop | ||||
|  | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
|  | ||||
| jobs: | ||||
|   phpunit: | ||||
|     name: PHP ${{ matrix.php }} on ${{ matrix.os }} | ||||
|  | ||||
							
								
								
									
										3
									
								
								.github/workflows/ci-mssql.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/ci-mssql.yml
									
									
									
									
										vendored
									
									
								
							| @ -3,6 +3,9 @@ on: | ||||
|   - push | ||||
|  | ||||
| name: ci-mssql | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
|  | ||||
| jobs: | ||||
|   tests: | ||||
|  | ||||
							
								
								
									
										3
									
								
								.github/workflows/ci-mysql.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/ci-mysql.yml
									
									
									
									
										vendored
									
									
								
							| @ -3,6 +3,9 @@ on: | ||||
|   - push | ||||
|  | ||||
| name: ci-mysql | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
|  | ||||
| jobs: | ||||
|   tests: | ||||
|  | ||||
							
								
								
									
										3
									
								
								.github/workflows/ci-oracle.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/ci-oracle.yml
									
									
									
									
										vendored
									
									
								
							| @ -3,6 +3,9 @@ on: | ||||
|   - push | ||||
|  | ||||
| name: ci-oracle | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
|  | ||||
| jobs: | ||||
|   tests: | ||||
|  | ||||
							
								
								
									
										3
									
								
								.github/workflows/ci-pgsql.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/ci-pgsql.yml
									
									
									
									
										vendored
									
									
								
							| @ -3,6 +3,9 @@ on: | ||||
|   - push | ||||
|  | ||||
| name: ci-pgsql | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
|  | ||||
| jobs: | ||||
|   tests: | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Bizley
					Bizley