Переглянути джерело

Add debug step to see why SonarCloud is not triggered

Jason Rumney 4 роки тому
батько
коміт
6b2f70b30a
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      .github/workflows/tests.yml

+ 2 - 0
.github/workflows/tests.yml

@@ -26,6 +26,8 @@ jobs:
         run: pytest --cov=. --cov-config=.coveragerc --cov-report xml:coverage.xml
       - name: Track master branch
         run: git fetch --no-tags https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY +refs/heads/main:refs/remotes/origin/main
+      - name: SonarCloud Debug
+        run: echo "event: ${{ github.event_name }}, repo: ${{ github.event.repository.name}} "
       - name: SonarCloud scan
         uses: sonarsource/sonarcloud-github-action@master
         if: github.event_name == 'push' && github.event.repository.name == 'make-all/tuya-local'