From df9b3bbabc77366168564f8e9575c6728cacefa7 Mon Sep 17 00:00:00 2001 From: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> Date: Fri, 27 Dec 2024 11:57:24 -0500 Subject: [PATCH] CodeQL improvements. Partial #645 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> --- .github/workflows/codeql.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 59a667407..2f9cfa12c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,14 +1,12 @@ +# +# .github/workflows/codeql.yml +# --- -name: "CodeQL Advanced" - +name: "CodeQL" on: push: - branches: ["main", "v*"] pull_request: - branches: ["main", "v*"] - schedule: - - cron: "44 14 * * 4" - + workflow_dispatch: jobs: analyze: name: Analyze ${{matrix.language}} @@ -19,7 +17,10 @@ jobs: fail-fast: false matrix: include: - - language: swift + - language: actions-all + build-mode: none + + - language: swift-all build-mode: manual steps: - name: Checkout repository @@ -32,7 +33,8 @@ jobs: build-mode: ${{matrix.build-mode}} queries: security-and-quality - - if: matrix.build-mode == 'manual' + - name: Build Swift + if: matrix.language == 'swift' shell: bash run: | script/build