Merge pull request #5819 from microsoft/security/pipeline-type #3257
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
name: "CodeQL" # name must match the original workflow | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
paths: ['abstractions/**', 'authentication/**', 'serialization/**', 'http/**', '**.md', '.vscode/**', '**.svg'] # must be the exact opposite of the original workflow | |
pull_request: | |
paths: ['abstractions/**', 'authentication/**', 'serialization/**', 'http/**', '**.md', '.vscode/**', '**.svg'] | |
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks | |
jobs: | |
analyze: #names must match the original workflow | |
name: Analyze (csharp) | |
runs-on: ubuntu-latest | |
steps: | |
- run: 'echo "No CodeQL Analysis required"' |