From 8d0f28b7efd814afc9553a15172475c20b7110d8 Mon Sep 17 00:00:00 2001 From: Thiru Dinesh Date: Fri, 5 Sep 2025 14:32:51 +0530 Subject: [PATCH] added gitleaks to ci-cd --- .github/workflows/gitleaks-check.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/gitleaks-check.yml diff --git a/.github/workflows/gitleaks-check.yml b/.github/workflows/gitleaks-check.yml new file mode 100644 index 00000000..806a0bad --- /dev/null +++ b/.github/workflows/gitleaks-check.yml @@ -0,0 +1,22 @@ +name: Gitleaks Check + +on: + pull_request: + branches: ["*"] + push: + branches: ["*"] + +jobs: + gitleaks: + name: Gitleaks Check + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Run Gitleaks + run: | + docker run --rm -v ${{ github.workspace }}:/code zricethezav/gitleaks:latest detect --source=/code + +