diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 62022251..c1ed2c14 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -60,8 +60,14 @@ jobs: env: WHAT: ${{ matrix.what }} codeql: - name: CodeQL + name: CodeQL (${{ matrix.what }}) runs-on: ubuntu-24.04 + strategy: + fail-fast: false + matrix: + what: + - javascript + - actions permissions: security-events: write # To upload CodeQL results steps: @@ -84,9 +90,15 @@ jobs: persist-credentials: false - name: Initialize CodeQL uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0 + if: ${{ matrix.what == 'actions' }} + with: + languages: ${{ matrix.what }} + - name: Initialize CodeQL + uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0 + if: ${{ matrix.what == 'javascript' }} with: config-file: ./.github/codeql.yml - languages: javascript + languages: ${{ matrix.what }} - name: Perform CodeQL analysis uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0 odgen: