mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
GHA/codeql: limit cron job to the origin repository
To avoid running it in every fork, every week. Closes #19552
This commit is contained in:
parent
6d9c5c91b9
commit
ea2203c1aa
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@ -39,6 +39,7 @@ permissions: {}
|
||||
|
||||
jobs:
|
||||
gha_python:
|
||||
if: ${{ github.repository_owner == 'curl' || github.event_name != 'schedule' }}
|
||||
name: 'GHA and Python'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
@ -58,6 +59,7 @@ jobs:
|
||||
uses: github/codeql-action/analyze@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
|
||||
|
||||
c:
|
||||
if: ${{ github.repository_owner == 'curl' || github.event_name != 'schedule' }}
|
||||
name: 'C'
|
||||
runs-on: ${{ matrix.platform == 'Linux' && 'ubuntu-latest' || 'windows-2022' }}
|
||||
permissions:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user