From c76a84f536e4ee1f28fb93939c304423c7736199 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 | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 59a667407..f9a59522b 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,6 +17,9 @@ jobs: fail-fast: false matrix: include: + - language: actions + build-mode: none + - language: swift build-mode: manual steps: @@ -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