mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-27 16:24:31 -04:00 
			
		
		
		
	chore: cancel running pull request jobs on new push (#4339)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										3
									
								
								.github/workflows/codeql.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/codeql.yml
									
									
									
									
										vendored
									
									
								
							| @@ -14,10 +14,9 @@ name: "CodeQL" | ||||
| on: | ||||
|   push: | ||||
|     branches: [ "mealie-next" ] | ||||
|   pull_request: | ||||
|     branches: [ "mealie-next" ] | ||||
|   schedule: | ||||
|     - cron: '36 9 * * 3' | ||||
|   workflow_call: | ||||
|  | ||||
| jobs: | ||||
|   analyze: | ||||
|   | ||||
							
								
								
									
										5
									
								
								.github/workflows/e2e.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/e2e.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,8 +1,7 @@ | ||||
| name: E2E Tests | ||||
| on: | ||||
|   pull_request: | ||||
|     branches: | ||||
|       - mealie-next | ||||
|   workflow_call: | ||||
|  | ||||
| jobs: | ||||
|   test: | ||||
|     timeout-minutes: 60 | ||||
|   | ||||
							
								
								
									
										16
									
								
								.github/workflows/pull-requests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/pull-requests.yml
									
									
									
									
										vendored
									
									
								
							| @@ -5,6 +5,10 @@ on: | ||||
|     branches: | ||||
|       - mealie-next | ||||
|  | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | ||||
|   cancel-in-progress: true | ||||
|  | ||||
| jobs: | ||||
|   pull-request-lint: | ||||
|     name: "Lint PR" | ||||
| @@ -21,3 +25,15 @@ jobs: | ||||
|   container-scanning: | ||||
|     name: "Trivy Container Scanning" | ||||
|     uses: ./.github/workflows/partial-trivy-container-scanning.yml | ||||
|  | ||||
|   end-to-end: | ||||
|     name: "End-to-End Tests" | ||||
|     uses: ./.github/workflows/e2e.yml | ||||
|  | ||||
|   code-ql: | ||||
|     name: "CodeQL" | ||||
|     uses: ./.github/workflows/codeql.yml | ||||
|     permissions: | ||||
|       actions: read | ||||
|       contents: read | ||||
|       security-events: write | ||||
|   | ||||
		Reference in New Issue
	
	Block a user