diff options
| author | Laura <[email protected]> | 2023-01-09 17:59:25 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-09 17:59:25 -0800 |
| commit | 34faeba5a76ceea2731c5620a396c0a2ddb112f9 (patch) | |
| tree | 5674b6b14494d880db20db775a7fc2f280474822 /.github | |
| parent | 921e951006d8cb403d59f9747c5495686a4aaed0 (diff) | |
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.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/Code-Scanning.yml | 15 |
1 files changed, 4 insertions, 11 deletions
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 }} |
