diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 929f4d7ebbb..bfa5d46ba3e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -22,13 +22,13 @@ on: - 'CHANGELOG.md' - 'common/lib/dependabot/version.rb' schedule: - if: ${{ github.repository == 'dependabot/dependabot-core' }} - cron: '41 4 * * 3' jobs: analyze: name: Analyze runs-on: ubuntu-latest + if: ${{ github.event_name != 'schedule' || github.repository == 'dependabot/dependabot-core' }} permissions: actions: read contents: read