Skip to content

Commit 6acc9c8

Browse files
authored
GHA/codeql: limit cron job to the origin repository (#228)
To avoid running it in every fork, every week.
1 parent 55e9403 commit 6acc9c8

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
@@ -18,6 +18,7 @@ permissions: {}
1818

1919
jobs:
2020
gha_python:
21+
if: ${{ github.repository_owner == 'curl' || github.event_name != 'schedule' }}
2122
name: 'GHA and Python'
2223
runs-on: ubuntu-latest
2324
permissions:

0 commit comments

Comments
 (0)