From e5a75bd5132732f2ff5941caf69b4455490fa524 Mon Sep 17 00:00:00 2001 From: rajapandi1234 <138785181+rajapandi1234@users.noreply.github.com> Date: Wed, 13 Nov 2024 12:44:40 +0530 Subject: [PATCH] Create Secret Scanning.yml --- .github/workflows/Secret Scanning.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/Secret Scanning.yml diff --git a/.github/workflows/Secret Scanning.yml b/.github/workflows/Secret Scanning.yml new file mode 100644 index 0000000..fbef58e --- /dev/null +++ b/.github/workflows/Secret Scanning.yml @@ -0,0 +1,23 @@ +name: Secret Scanning + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened] + +jobs: + detect-secrets: + name: Detect-Secrets Scan + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install Detect-Secrets + run: pip install detect-secrets + + - name: Run Detect-Secrets + run: detect-secrets scan > .secrets.baseline