mirror of
				https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
				synced 2025-11-04 00:46:12 +00:00 
			
		
		
		
	added secret detection
This commit is contained in:
		@@ -1,5 +1,6 @@
 | 
				
			|||||||
include:
 | 
					include:
 | 
				
			||||||
  - template: Jobs/Code-Quality.gitlab-ci.yml
 | 
					  - template: Jobs/Code-Quality.gitlab-ci.yml
 | 
				
			||||||
 | 
					  - template: Jobs/Secret-Detection.gitlab-ci.yml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cache:
 | 
					cache:
 | 
				
			||||||
  key: one-key-to-rule-them-all
 | 
					  key: one-key-to-rule-them-all
 | 
				
			||||||
@@ -189,6 +190,13 @@ code_quality:
 | 
				
			|||||||
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
 | 
					    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
 | 
				
			||||||
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
 | 
					    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					secret_detection:
 | 
				
			||||||
 | 
					  rules:
 | 
				
			||||||
 | 
					    - if: $SECRET_DETECTION_DISABLED
 | 
				
			||||||
 | 
					      when: never
 | 
				
			||||||
 | 
					    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
 | 
				
			||||||
 | 
					    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test_coverage:
 | 
					test_coverage:
 | 
				
			||||||
  extends: test
 | 
					  extends: test
 | 
				
			||||||
  allow_failure: true
 | 
					  allow_failure: true
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user