mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Stops duplicated action runs against internal PRs (#4430)
This commit is contained in:
		
							
								
								
									
										7
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -22,6 +22,13 @@ env: | |||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   pre-commit: |   pre-commit: | ||||||
|  |     # We want to run on external PRs, but not on our own internal PRs as they'll be run | ||||||
|  |     # by the push to the branch. Without this if check, checks are duplicated since | ||||||
|  |     # internal PRs match both the push and pull_request events. | ||||||
|  |     if: | ||||||
|  |       github.event_name == 'push' || github.event.pull_request.head.repo.full_name != | ||||||
|  |       github.repository | ||||||
|  |  | ||||||
|     name: Linting Checks |     name: Linting Checks | ||||||
|     runs-on: ubuntu-22.04 |     runs-on: ubuntu-22.04 | ||||||
|     steps: |     steps: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Trenton H
					Trenton H