feat: SonarQube PR analysis #21

Merged
jank merged 12 commits from testing into main 2024-09-27 09:11:11 +00:00
Showing only changes of commit b208c9d3f0 - Show all commits

@ -2,6 +2,11 @@ name: Build
on: # test on: # test
pull_request: pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
push: push:
branches: branches:
- main - main
@ -40,4 +45,4 @@ jobs:
env: env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
run: ./gradlew build sonar --info -Dsonar.pullrequest.key=$GITEA_PULL_REQUEST_INDEX run: ./gradlew build sonar --info