feat: SonarQube PR analysis #21
@ -2,6 +2,11 @@ name: Build
|
||||
|
||||
on: # test
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
@ -40,4 +45,4 @@ jobs:
|
||||
env:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
||||
run: ./gradlew build sonar --info -Dsonar.pullrequest.key=$GITEA_PULL_REQUEST_INDEX
|
||||
run: ./gradlew build sonar --info
|
Loading…
Reference in New Issue
Block a user