From 1296bb2c465fdcdcc5e588565b5f767a298f274f Mon Sep 17 00:00:00 2001 From: ragineeCap <164142971+ragineeCap@users.noreply.github.com> Date: Thu, 3 Oct 2024 11:08:08 +0530 Subject: [PATCH] Add GitLeaks secret scan workflow --- .github/workflows/gitleaks_secret_scan.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/gitleaks_secret_scan.yml diff --git a/.github/workflows/gitleaks_secret_scan.yml b/.github/workflows/gitleaks_secret_scan.yml new file mode 100644 index 000000000000..434d5a923048 --- /dev/null +++ b/.github/workflows/gitleaks_secret_scan.yml @@ -0,0 +1,18 @@ + + name: Gitleaks - Scanning Secrets in PR + + on: + pull_request: + types: + - synchronize + - opened + branches: + - 'main' + - 'master' + + jobs: + scan: + uses: Capillary/security-workflows/.github/workflows/gitLeaks_reusable_worflow.yml@main + secrets: + GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }} + \ No newline at end of file