Skip to content

Commit d287e8f

Browse files
Rename build folder
1 parent 294b846 commit d287e8f

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/generate_sbom.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,13 @@ jobs:
5555
# echo "cat .endorctl/scanprofile.yaml"
5656
# cat .endorctl/scanprofile.yaml
5757

58-
- name: Remove unneeded source files
59-
working-directory: ${{github.workspace}}
60-
run: |
61-
git add .
62-
git rm -r --quiet benchmark cmake data docs etc examples extras generate_uninstall src
63-
ls -al
58+
- name: Rename build folder # Endor Labs will automatically try to exclude "build"
59+
run: mv build third_party
6460

6561
- name: Install endorctl and Scan with Endor Labs
6662
uses: endorlabs/github-action@519df81de5f68536c84ae05ebb2986d0bb1d19fc # Release v1.1.8
6763
with:
68-
additional_args: "--languages=c --include-path=\"build/**\""
64+
additional_args: "--languages=c --include-path=third_party/**"
6965
log_level: info
7066
log_verbose: false
7167
namespace: mongodb.${{github.repository_owner}}

0 commit comments

Comments
 (0)