Skip to content

Commit

Permalink
Merge pull request microsoft#826 from microsoft/lagonzacodescanning-r…
Browse files Browse the repository at this point in the history
…econfig

Re Configure Code-Scanning.yml
  • Loading branch information
lauragonzalezzz authored Jan 18, 2023
2 parents 2970900 + 1a9dffb commit 2c0c876
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/Code-Scanning.yml
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"

Expand All @@ -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:

Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 2c0c876

Please sign in to comment.