From 45982ff29ccbf34ea3cf1fa7742a1b9643aeb394 Mon Sep 17 00:00:00 2001 From: "lbt-commit-signing[bot]" <142540056+lbt-commit-signing[bot]@users.noreply.github.com> Date: Wed, 15 Nov 2023 21:34:12 +0000 Subject: [PATCH] chore: Remove .truffleignore files and update trufflehog scan workflow --- .github/.truffleignore | 3 --- .github/workflows/trufflehog-scan.yml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 .github/.truffleignore 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