From d015c8a3829ee1b595a34c2f07712936414bdfc7 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Mon, 29 Jan 2024 15:42:03 -0300 Subject: [PATCH] ci: codeql: add the language to the category For consistency with the auto-generated yaml: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" Documentation: * https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#changing-the-languages-that-are-analyzed * https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#configuring-a-category-for-the-analysis --- .github/workflows/check-c.yml | 2 ++ .github/workflows/check-python.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/check-c.yml b/.github/workflows/check-c.yml index 16e034d4812..35ed94197aa 100644 --- a/.github/workflows/check-c.yml +++ b/.github/workflows/check-c.yml @@ -162,3 +162,5 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 + with: + category: "/language:cpp" diff --git a/.github/workflows/check-python.yml b/.github/workflows/check-python.yml index 76eaa584ef6..e9b42234283 100644 --- a/.github/workflows/check-python.yml +++ b/.github/workflows/check-python.yml @@ -56,3 +56,5 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 + with: + category: "/language:python"