ci: prevent codeql analysis workflow from running in forks (#4561)

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
Ophelia Goldstein
2025-10-12 23:15:09 +03:00
committed by GitHub
co-authored by Alexandr
parent 90955dca00
commit d3a7a90bf9
+2
View File
@@ -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