Skip to content

Commit d3a7a90

Browse files
ci: prevent codeql analysis workflow from running in forks (anuraghazra#4561)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
1 parent 90955dc commit d3a7a90

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ permissions:
2424

2525
jobs:
2626
CodeQL-Build:
27+
if: github.repository == 'anuraghazra/github-readme-stats'
28+
2729
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
2830
runs-on: ubuntu-latest
2931

0 commit comments

Comments
 (0)