add sonar
This commit is contained in:
		
							
								
								
									
										18
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					name: CI
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  pull_request:
 | 
				
			||||||
 | 
					    types: [opened, synchronize, reopened]
 | 
				
			||||||
 | 
					    paths-ignore:
 | 
				
			||||||
 | 
					      - "README.md"
 | 
				
			||||||
 | 
					      - "LICENSE.md"
 | 
				
			||||||
 | 
					      - ".gitignore"
 | 
				
			||||||
 | 
					      - ".github/CODEOWNERS"
 | 
				
			||||||
 | 
					      - ".github/renovate.json"
 | 
				
			||||||
 | 
					      - ".github/dependabot.yml"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  ci:
 | 
				
			||||||
 | 
					    uses: luketainton/gha-workflows/.github/workflows/ci-docker.yml@main
 | 
				
			||||||
 | 
					    secrets:
 | 
				
			||||||
 | 
					      SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
 | 
				
			||||||
 | 
					      SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
 | 
				
			||||||
							
								
								
									
										7
									
								
								sonar-project.properties
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								sonar-project.properties
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					sonar.organization=luketainton
 | 
				
			||||||
 | 
					sonar.projectKey=luketainton_docker-dnsmasq
 | 
				
			||||||
 | 
					sonar.projectName=docker-dnsmasq
 | 
				
			||||||
 | 
					sonar.projectVersion=1.0
 | 
				
			||||||
 | 
					sonar.docker.hadolint.reportPaths=hadolint.out
 | 
				
			||||||
 | 
					sonar.sources=Dockerfile
 | 
				
			||||||
 | 
					sonar.exclusions=,.github/**,.gitignore,CODEOWNERS,CHANGELOG.md,LICENSE.md,README.md,renovate.json
 | 
				
			||||||
		Reference in New Issue
	
	Block a user