feat: SonarQube PR analysis #21
@ -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
|
Loading…
Reference in New Issue
Block a user