diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b51ccc27..ba491299 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -23,6 +23,7 @@ permissions: {} jobs: gha_python: + if: ${{ github.repository_owner == 'curl' || github.event_name != 'schedule' }} name: 'GHA and Python' runs-on: ubuntu-latest permissions: @@ -42,6 +43,7 @@ jobs: uses: github/codeql-action/analyze@v4 c: + if: ${{ github.repository_owner == 'curl' || github.event_name != 'schedule' }} name: 'C' runs-on: ubuntu-latest permissions: