Skip to content

Commit 2cf0e68

Browse files
ignore-paths
1 parent 0bbabe1 commit 2cf0e68

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/endor_labs_pr_scan.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,12 @@ jobs:
2929
BUILD: ${{github.workspace}}/build
3030
CXX_STANDARD: 17
3131
working-directory: ${{env.BUILD}}
32-
run: |
33-
cmake .. -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_STANDARD=${{env.CXX_STANDARD}} -DENABLE_TESTS=ON
34-
git add .
32+
run: cmake .. -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_STANDARD=${{env.CXX_STANDARD}} -DENABLE_TESTS=ON
3533

3634
- name: Endor Labs - Pull Request Scan
3735
uses: endorlabs/github-action@519df81de5f68536c84ae05ebb2986d0bb1d19fc # v1.1.8
3836
with:
39-
additional_args: "--languages=c --include-path=\"build/_deps/**\""
37+
additional_args: "--languages=c --exclude-path=\"src/**\" --exclude-path=\"benchmark/**\" --exclude-path=\"build/CMakeFiles/**\""
4038
enable_pr_comments: true
4139
github_token: ${{ secrets.GITHUB_TOKEN }} # Required for endorctl to write pr comments
4240
log_level: info

0 commit comments

Comments
 (0)