From 0021d934c620096989ac57c1e728ee876ac24d54 Mon Sep 17 00:00:00 2001 From: Vitor Bandeira Date: Fri, 4 Sep 2026 13:48:14 -0300 Subject: [PATCH] ci: skip CodeQL analysis on private repo Advanced Security is not available on this repository when it is private, so the analyze job would fail. Signed-off-by: Vitor Bandeira --- .github/workflows/codeql.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index fdcc896a9a..4b81241bc6 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -16,6 +16,7 @@ permissions: jobs: analyze: name: Analyze ${{ matrix.language }} + if: github.repository_owner != 'The-OpenROAD-Project-private' runs-on: ubuntu-latest permissions: actions: read