forked from microsoft/Windows-driver-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request microsoft#826 from microsoft/lagonzacodescanning-r…
…econfig Re Configure Code-Scanning.yml
- Loading branch information
Showing
1 changed file
with
4 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: | ||
|
||
|
@@ -51,15 +45,10 @@ jobs: | |
- name: Add MSBuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: Get changed files | ||
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 }} | ||
|