mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-30 09:43:17 -04:00 
			
		
		
		
	Only run Go tests for push on master.
Add a branch filter to only run tests for "push" on master. This avoids double-running tests on PRs. Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/go.test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/go.test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,5 +1,8 @@ | |||||||
| name: Go Tests | name: Go Tests | ||||||
| on: [push, pull_request] | on: | ||||||
|  |   pull_request: | ||||||
|  |   push: | ||||||
|  |     branches: [master] | ||||||
| permissions: | permissions: | ||||||
|   contents: read |   contents: read | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user