Skip to content

Commit c685441

Browse files
committed
Add SonarQube config and GitHub Actions workflow
1 parent f1df1fb commit c685441

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/workflows/sonarqube.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
pull_request:
6+
types: [opened, synchronize, reopened]
7+
8+
name: Sonarqube
9+
jobs:
10+
sonarqube:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- name: SonarQube Scan
17+
uses: SonarSource/[email protected]
18+
env:
19+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
20+
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}

sonar-project.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sonar.projectKey=clearfacts:FormGoodnessBundle

0 commit comments

Comments
 (0)