Skip to content

Commit

Permalink
CI: Fix CodeQL definition
Browse files Browse the repository at this point in the history
It lacked an appropriate setting for the `category` parameter. When
introducing a matrix axis (here: sqla-version), you will have to teach
code scanning about it.

This has been discovered by the CodeQL team. Thanks a stack!

  github/codeql-action#1411 (comment)
  • Loading branch information
amotl committed Jan 26, 2023
1 parent 696a623 commit 4f33ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"
category: "/language:${{ matrix.language }}/sqla-version:${{ matrix.sqla-version }}""

0 comments on commit 4f33ac9

Please sign in to comment.