From 4270b07d33d90da75d5ba40b0ea811847f25947e Mon Sep 17 00:00:00 2001 From: dsgnr Date: Mon, 18 Nov 2024 17:25:39 +0000 Subject: [PATCH] Update CodeQL workflow --- .github/workflows/codeql-analysis.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index df64c17..b0f5f65 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,10 +2,11 @@ name: "CodeQL" on: push: - branches: [ master ] + branches: + - devel pull_request: - # The branches below must be a subset of the branches above - branches: [ master ] + branches: + - devel schedule: - cron: '15 12 * * 0' @@ -21,19 +22,23 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'javascript' ] + language: + - python + - javascript-typescript steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v3 + with: + category: "/language:${{matrix.language}}"