diff --git a/.github/workflows/ci-test-go.yml b/.github/workflows/ci-test-go.yml index d579f44cb6..201316d0ba 100644 --- a/.github/workflows/ci-test-go.yml +++ b/.github/workflows/ci-test-go.yml @@ -109,7 +109,7 @@ jobs: make test-unit - name: Analyze with SonarCloud - if: ${{ github.ref_name == 'main' && inputs.run-tests && inputs.project-directory == '.' }} + if: ${{ github.ref_name == 'main' && github.repository_owner == 'testcontainers' && inputs.run-tests && inputs.project-directory == '.' }} uses: sonarsource/sonarcloud-github-action@master with: projectBaseDir: ${{ inputs.project-directory }}