diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index f89a2de511..89e2d92489 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -13,17 +13,13 @@ name: "CodeQL" on: push: - # branches: [main] + branches: [main, develop] pull_request: # The branches below must be a subset of the branches above - # branches: [main] + branches: [main, develop] schedule: - cron: "19 23 * * 5" -# on: -# workflow_dispatch: -# workflow_call: - jobs: analyze: name: Analyze @@ -36,7 +32,7 @@ jobs: strategy: fail-fast: false matrix: - language: [python] + language: [$detected-codeql-languages] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Learn more about CodeQL language support at https://git.io/codeql-language-support @@ -66,9 +62,7 @@ jobs: # and modify them (or add more) to build your code if your project # uses a compiled language - #- run: | - # make bootstrap - # make release - - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 + with: + category: "/language:${{matrix.language}}"