From bcb9795898f0a5aff045c9d15ef266c58df2e4c3 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Mon, 11 Sep 2023 17:43:58 +0200 Subject: [PATCH] Update ci-test-go.yml --- .github/workflows/ci-test-go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}