Sfoglia il codice sorgente

Workflow: remove quotes from condition

Jason Rumney 2 anni fa
parent
commit
1204003988
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 }}