forked from loafle/openapi-generator-original
Don't deploy to sonar in forks (#8856)
This commit is contained in:
parent
2c0991dabe
commit
6f413f6aca
1
.github/workflows/sonar.yml
vendored
1
.github/workflows/sonar.yml
vendored
@ -22,4 +22,5 @@ jobs:
|
||||
- name: Jacoco Aggregate
|
||||
run: mvn jacoco:report-aggregate
|
||||
- name: Publish to Sonar
|
||||
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||
run: mvn -B -q -nsu sonar:sonar -Dsonar.projectKey=OpenAPITools_openapi-generator -Dsonar.organization=openapitools -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${{ secrets.SONAR_LOGIN }} -Dsonar.branch.name=${GITHUB_REF##*/}
|
||||
|
Loading…
x
Reference in New Issue
Block a user