From 9dc35550e4e773dad3fb5d1d5a208371da279fe6 Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Fri, 20 Dec 2024 08:53:38 -0300 Subject: [PATCH 1/2] Trufflehog GH Action --- .github/workflows/secrets-scan.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/secrets-scan.yml diff --git a/.github/workflows/secrets-scan.yml b/.github/workflows/secrets-scan.yml new file mode 100644 index 000000000..41457ff2c --- /dev/null +++ b/.github/workflows/secrets-scan.yml @@ -0,0 +1,20 @@ +on: + push: + branches: + - develop + - trunk + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Secret Scanning + uses: trufflesecurity/trufflehog@main + with: + extra_args: --results=verified,unknown + \ No newline at end of file From a4ceade03c517e7f22713e5cec4bd7789b75e9a6 Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Fri, 20 Dec 2024 08:55:04 -0300 Subject: [PATCH 2/2] Give a name to the Action --- .github/workflows/secrets-scan.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/secrets-scan.yml b/.github/workflows/secrets-scan.yml index 41457ff2c..8ef8af305 100644 --- a/.github/workflows/secrets-scan.yml +++ b/.github/workflows/secrets-scan.yml @@ -1,3 +1,5 @@ +name: Secrets Scan + on: push: branches: