mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Create sonarcloud.yaml
Signed-off-by: James Cole <james@firefly-iii.org>
This commit is contained in:
		
							
								
								
									
										21
									
								
								.github/workflows/sonarcloud.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.github/workflows/sonarcloud.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| name: Sonarcloud | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - main | ||||
|       - develop | ||||
|   pull_request: | ||||
|     types: [opened, synchronize, reopened] | ||||
| jobs: | ||||
|   sonarcloud: | ||||
|     name: SonarCloud | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v3 | ||||
|         with: | ||||
|           fetch-depth: 0  # Shallow clones should be disabled for a better relevancy of analysis | ||||
|       - name: SonarCloud Scan | ||||
|         uses: SonarSource/sonarcloud-github-action@master | ||||
|         env: | ||||
|           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any | ||||
|           SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||||
		Reference in New Issue
	
	Block a user