diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6dac9a38b8..6d106d584e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -8,6 +8,7 @@ on: jobs: CodeQL: + if: ${{!github.event.repository.private}} runs-on: ubuntu-latest steps: