From 34faeba5a76ceea2731c5620a396c0a2ddb112f9 Mon Sep 17 00:00:00 2001 From: Laura Date: Mon, 9 Jan 2023 17:59:25 -0800 Subject: Re Configure Code-Scanning.yml In accordance with this issue https://github.com/github/codeql-cli-binaries/issues/149 I have reconfigured to run code scanning on all PR's (to include text only changes) and adjusted the build command to build all solutions, not just the changed ones. --- .github/workflows/Code-Scanning.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to '.github/workflows/Code-Scanning.yml') diff --git a/.github/workflows/Code-Scanning.yml b/.github/workflows/Code-Scanning.yml index 3f9d1b7a..0c30f13e 100644 --- a/.github/workflows/Code-Scanning.yml +++ b/.github/workflows/Code-Scanning.yml @@ -1,5 +1,5 @@ # This workflow runs the latest CodeQL CLI and checks against CodeQL's Cpp library. -# It will only analyze solutions which have been changed. +# This is the source for the GitHub Security Code Scanning job. name: "CodeQL Analysis" @@ -14,12 +14,6 @@ on: - main - develop - # Do not perform analysis if only config or text files are changed - paths-ignore: - - '**/*.md' - - '**/*.txt' - - '.github/**' - # Allow manual scheduling workflow_dispatch: @@ -55,11 +49,10 @@ jobs: id: get-changed-files uses: tj-actions/changed-files@v27 - - name: Retrieve and build solutions from changed files - id: build-changed-projects + - name: Retrieve and build all available solutions + id: build-all-projects run: | - $changedFiles = "${{ steps.get-changed-files.outputs.all_changed_files }}".Split(' ') - .\.github\scripts\Build-ChangedProjects.ps1 -ChangedFiles $changedFiles + .\Build-AllProjects.ps1 env: Configuration: ${{ matrix.configuration }} Platform: ${{ matrix.platform }} -- cgit v1.3.1