Browse Source

Workflow: remove quotes from condition

Jason Rumney 2 years ago
parent
commit
1204003988
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/tests.yml

+ 1 - 1
.github/workflows/tests.yml

@@ -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 }}