diff --git a/.github/workflows/reusable-trufflehog.yml b/.github/workflows/reusable-trufflehog.yml index 91ac3096..91984495 100644 --- a/.github/workflows/reusable-trufflehog.yml +++ b/.github/workflows/reusable-trufflehog.yml @@ -98,6 +98,13 @@ jobs: path:grafana\.json$ EOF + if [[ -f ".trufflehogignore" ]]; then + echo "" >> /tmp/trufflehog-exclude.txt + echo "# Local .trufflehogignore" >> /tmp/trufflehog-exclude.txt + cat .trufflehogignore >> /tmp/trufflehog-exclude.txt + echo "Appended local .trufflehogignore" + fi + echo "Created global exclusion patterns:" cat /tmp/trufflehog-exclude.txt