Skip to content

Commit

Permalink
Merge pull request #19 from linagora/code-scanning-ignore-files
Browse files Browse the repository at this point in the history
fix: ignore tests files and documentation on code scanning
  • Loading branch information
jcabannes authored Mar 27, 2024
2 parents d416f57 + ae7c8a8 commit f4edb0b
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 f4edb0b

Please sign in to comment.