Skip to content

Commit fce38a2

Browse files
authored
fix(ci): ignore vendor directories in trufflehog scans (#9)
* fix(ci): ignore vendor directories in trufflehog scans Signed-off-by: Samuel Boynton <sboynton@nvidia.com> * fix(ci): add headers to trufflehog-exclude-paths Signed-off-by: Samuel Boynton <sboynton@nvidia.com> --------- Signed-off-by: Samuel Boynton <sboynton@nvidia.com>
1 parent b908ac9 commit fce38a2

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ jobs:
164164
with:
165165
post-pr-comment: "true"
166166
fail-on-findings: "true"
167+
extra-args: "--exclude-paths=.trufflehog-exclude-paths"
167168

168169
security-container-scan:
169170
name: Container Scan (auth-callout)

.trufflehog-exclude-paths

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Copyright 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
(^|/)vendor/

0 commit comments

Comments
 (0)