diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 369e95949..a260462a1 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,13 +1,8 @@ name: "CodeQL" on: - push: - branches: [ 'master' ] pull_request: - # The branches below must be a subset of the branches above - branches: [ 'master' ] - schedule: - - cron: '21 15 * * 5' + types: [opened, reopened] jobs: analyze: @@ -21,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'java', 'python' ] + language: [ 'java' ] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support