Skip to content

Commit 056e964

Browse files
committed
GHA/codeql: limit cron job to the origin repository [ci skip]
To avoid running it in every fork, every week.
1 parent b2f57d4 commit 056e964

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ permissions: {}
2323

2424
jobs:
2525
gha_python:
26+
if: ${{ github.repository_owner == 'curl' || github.event_name != 'schedule' }}
2627
name: 'GHA and Python'
2728
runs-on: ubuntu-latest
2829
permissions:

0 commit comments

Comments
 (0)