diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 59a66740..f9a59522 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