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 |   PHPUNIT_EXCLUDE_GROUP: mssql,oci,wincache,xcache,zenddata,cubrid | ||||||
|   XDEBUG_MODE: coverage, develop |   XDEBUG_MODE: coverage, develop | ||||||
|  |  | ||||||
|  | concurrency: | ||||||
|  |   group: ${{ github.workflow }}-${{ github.ref }} | ||||||
|  |   cancel-in-progress: true | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   phpunit: |   phpunit: | ||||||
|     name: PHP ${{ matrix.php }} on ${{ matrix.os }} |     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 |   - push | ||||||
|  |  | ||||||
| name: ci-mssql | name: ci-mssql | ||||||
|  | concurrency: | ||||||
|  |   group: ${{ github.workflow }}-${{ github.ref }} | ||||||
|  |   cancel-in-progress: true | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   tests: |   tests: | ||||||
|  | |||||||
							
								
								
									
										3
									
								
								.github/workflows/ci-mysql.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/ci-mysql.yml
									
									
									
									
										vendored
									
									
								
							| @ -3,6 +3,9 @@ on: | |||||||
|   - push |   - push | ||||||
|  |  | ||||||
| name: ci-mysql | name: ci-mysql | ||||||
|  | concurrency: | ||||||
|  |   group: ${{ github.workflow }}-${{ github.ref }} | ||||||
|  |   cancel-in-progress: true | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   tests: |   tests: | ||||||
|  | |||||||
							
								
								
									
										3
									
								
								.github/workflows/ci-oracle.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/ci-oracle.yml
									
									
									
									
										vendored
									
									
								
							| @ -3,6 +3,9 @@ on: | |||||||
|   - push |   - push | ||||||
|  |  | ||||||
| name: ci-oracle | name: ci-oracle | ||||||
|  | concurrency: | ||||||
|  |   group: ${{ github.workflow }}-${{ github.ref }} | ||||||
|  |   cancel-in-progress: true | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   tests: |   tests: | ||||||
|  | |||||||
							
								
								
									
										3
									
								
								.github/workflows/ci-pgsql.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/ci-pgsql.yml
									
									
									
									
										vendored
									
									
								
							| @ -3,6 +3,9 @@ on: | |||||||
|   - push |   - push | ||||||
|  |  | ||||||
| name: ci-pgsql | name: ci-pgsql | ||||||
|  | concurrency: | ||||||
|  |   group: ${{ github.workflow }}-${{ github.ref }} | ||||||
|  |   cancel-in-progress: true | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   tests: |   tests: | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Bizley
					Bizley