|
|
@@ -25,7 +25,7 @@ jobs:
|
|
|
run: pytest --cov=. --cov-config=.coveragerc --cov-report xml:coverage.xml
|
|
|
- name: SonarCloud scan
|
|
|
uses: sonarsource/sonarcloud-github-action@master
|
|
|
- if: (github.event.sender.login == github.event.repository.owner.login) && (github.repository == make-all/tuya-local) && (github.ref == main)
|
|
|
+ if: (github.event.sender.login == github.event.repository.owner.login) && (github.repository == 'make-all/tuya-local') && (github.ref == 'main')
|
|
|
env:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|