|
|
@@ -27,7 +27,10 @@ jobs:
|
|
|
- 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}} "
|
|
|
+ env:
|
|
|
+ GH_EVENT: ${{ github.event_name }}
|
|
|
+ GH_REPO: ${{ github.event.repository.name }}
|
|
|
+ run: echo "event: ${GH_EVENT}, repo: ${GH_REPO}"
|
|
|
- name: SonarCloud scan
|
|
|
uses: sonarsource/sonarcloud-github-action@master
|
|
|
if: github.event_name == 'push' && github.event.repository.name == 'make-all/tuya-local'
|