From cdad0e60e29bd55d2490af2ba87bec2c941c38d3 Mon Sep 17 00:00:00 2001 From: Ophelia Goldstein <159258143+opheliagoldstein@users.noreply.github.com> Date: Sun, 12 Oct 2025 23:15:09 +0300 Subject: [PATCH] ci: prevent codeql analysis workflow from running in forks (#4561) Co-authored-by: Alexandr --- backend/.github/workflows/codeql-analysis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/.github/workflows/codeql-analysis.yml b/backend/.github/workflows/codeql-analysis.yml index 2dc34d11..b72a0e9b 100644 --- a/backend/.github/workflows/codeql-analysis.yml +++ b/backend/.github/workflows/codeql-analysis.yml @@ -24,6 +24,8 @@ permissions: jobs: CodeQL-Build: + if: github.repository == 'anuraghazra/github-readme-stats' + # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest runs-on: ubuntu-latest