From 61f3b33a664e02e0448e939934cc9e4eb20d2e80 Mon Sep 17 00:00:00 2001 From: SeSo Date: Tue, 19 Sep 2023 13:10:49 -0700 Subject: [PATCH] chore: update codeql yml file --- .github/workflows/codeql.yaml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) 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}}"