diff --git a/.github/.truffleignore b/.github/.truffleignore deleted file mode 100644 index 7a55dd0..0000000 --- a/.github/.truffleignore +++ /dev/null @@ -1,3 +0,0 @@ -# This file should contain filepaths that should be ignored -# during the trufflehog-scan workflow. Each filepath should -# be on its own line of the file similar to a .gitignore. diff --git a/.github/workflows/trufflehog-scan.yml b/.github/workflows/trufflehog-scan.yml index 1c3c603..7f4da43 100644 --- a/.github/workflows/trufflehog-scan.yml +++ b/.github/workflows/trufflehog-scan.yml @@ -36,7 +36,7 @@ jobs: TRUFFLEHOG_OUTPUT="" capturefile=false captureline=false - for finding in $(trufflehog git file://. --since-commit $FIRST_COMMIT --branch $HEAD_REF --exclude-paths=.github/.truffleignore --only-verified); do + for finding in $(trufflehog git file://. --since-commit $FIRST_COMMIT --branch $HEAD_REF --only-verified); do if [[ $capturefile == true ]] && [[ -z "$TRUFFLEHOG_OUTPUT" ]]; then TRUFFLEHOG_OUTPUT="> - $finding" elif [[ $capturefile == true ]] && [[ -n "$TRUFFLEHOG_OUTPUT" ]]; then