Skip to content

Commit

Permalink
build: restrict paths for which code scanning should be performed
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Dec 5, 2023
1 parent a4374ab commit e974898
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,22 @@ on:
# Allow the workflow to be manually run:
workflow_dispatch:

# Define paths for which code scanning should be performed:
paths:
- 'lib/node_modules/**/bin/**'
- 'lib/node_modules/**/docs/types/**'
- 'lib/node_modules/**/include/**'
- 'lib/node_modules/**/lib/**'
- 'lib/node_modules/**/src/**'

- 'lib/node_modules/**/*.gyp'
- 'lib/node_modules/**/*.gypi'
- 'package.json'

# Define paths for which code scanning should *not* be performed:
paths-ignore:
- 'lib/node_modules/**/_tools/**'

# Workflow jobs:
jobs:

Expand Down

0 comments on commit e974898

Please sign in to comment.