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

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