From 0ed303221371f127df605be96fd541ba43f971ce Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 15 Oct 2026 14:57:50 +0100 Subject: [PATCH] Add skipped `analyze` step --- .github/workflows/__diagnostics-without-db.yml | 8 ++++++++ pr-checks/checks/diagnostics-without-db.yml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/workflows/__diagnostics-without-db.yml b/.github/workflows/__diagnostics-without-db.yml index 2f340ff3c..a6bebd5c2 100644 --- a/.github/workflows/__diagnostics-without-db.yml +++ b/.github/workflows/__diagnostics-without-db.yml @@ -76,6 +76,14 @@ jobs: languages: swift tools: ${{ steps.prepare-test.outputs.tools-url }} + - name: Analyze + uses: ./analyze + # In a real workflow, this step wouldn't run. Since we used `continue-on-error` + # above, we manually disable it with an `if` condition. + if: false + with: + category: '/test-codeql-version:${{ matrix.version }}' + - name: Check diagnostics appear on disk env: SARIF_PATH: '${{ runner.temp }}/codeql-action-temp-diagnostics/' diff --git a/pr-checks/checks/diagnostics-without-db.yml b/pr-checks/checks/diagnostics-without-db.yml index b1f3b8f14..fb43d890c 100644 --- a/pr-checks/checks/diagnostics-without-db.yml +++ b/pr-checks/checks/diagnostics-without-db.yml @@ -28,6 +28,14 @@ steps: languages: swift tools: ${{ steps.prepare-test.outputs.tools-url }} + - name: Analyze + uses: ./analyze + # In a real workflow, this step wouldn't run. Since we used `continue-on-error` + # above, we manually disable it with an `if` condition. + if: false + with: + category: "/test-codeql-version:${{ matrix.version }}" + - name: Check diagnostics appear on disk env: SARIF_PATH: "${{ runner.temp }}/codeql-action-temp-diagnostics/"