From de327e8f55652b56a7ebf113a36e59322c971183 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 17 Jun 2024 15:45:17 +0100 Subject: [PATCH 1/2] Remove macOS 11 check and add macOS 14 The macOS 11 runner image is deprecated on Dotcom. --- .github/workflows/codeql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c9cff72f72..8fefc17e98 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -75,7 +75,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04,ubuntu-22.04,windows-2019,windows-2022,macos-11,macos-12,macos-13] + os: [ubuntu-20.04,ubuntu-22.04,windows-2019,windows-2022,macos-12,macos-13,macos-14] tools: ${{ fromJson(needs.check-codeql-versions.outputs.versions) }} runs-on: ${{ matrix.os }} From ec1c05a15fdd64f02411ab7c447456c51622a732 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 17 Jun 2024 16:02:05 +0100 Subject: [PATCH 2/2] Specify a single category We run the same queries across all the OSes so we only need a single category --- .github/workflows/codeql.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8fefc17e98..ef6275ff00 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -97,3 +97,5 @@ jobs: run: ${{steps.init.outputs.codeql-path}} version --format=json - name: Perform CodeQL Analysis uses: ./analyze + with: + category: "/language:javascript"