Skip to content

Commit

Permalink
fix: ignore tests files and documentation on code scanning
Browse files Browse the repository at this point in the history
Related to #16
  • Loading branch information
Jordy Cabannes committed Mar 26, 2024
1 parent d416f57 commit ae7c8a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/devskim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:

- name: Run DevSkim scanner
uses: microsoft/DevSkim-Action@v1
with:
ignore-globs: "docs/**,**/__testData__/**,**/*.test.ts"

- name: Upload DevSkim scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
Expand Down
5 changes: 5 additions & 0 deletions .njsscan
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ignore-paths:
- docs
- node_modules
- .test.ts
- __testData__

0 comments on commit ae7c8a8

Please sign in to comment.