From c732d78f737b507ce377e0fdce37f9d96ac01d8f Mon Sep 17 00:00:00 2001 From: "cb-cloud-tools[bot]" <222789136+cb-cloud-tools[bot]@users.noreply.github.com> Date: Fri, 25 Jul 2025 14:41:59 +0000 Subject: [PATCH 1/2] Add gitleaks workflow --- .github/workflows/pr-gitleaks.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/pr-gitleaks.yml diff --git a/.github/workflows/pr-gitleaks.yml b/.github/workflows/pr-gitleaks.yml new file mode 100644 index 0000000..915377b --- /dev/null +++ b/.github/workflows/pr-gitleaks.yml @@ -0,0 +1,10 @@ +name: CB Secret PR Scan + +on: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + SecretScanning: + uses: chargebee/cb-secrets-scanner/.github/workflows/cb-secret-scan.yml@main + secrets: inherit \ No newline at end of file From 0b8a19cc9b4c893bf74603da6862832bcaab33e0 Mon Sep 17 00:00:00 2001 From: "cb-cloud-tools[bot]" <222789136+cb-cloud-tools[bot]@users.noreply.github.com> Date: Fri, 25 Jul 2025 14:42:01 +0000 Subject: [PATCH 2/2] Add pre-commit config --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..7894cee --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/gitleaks/gitleaks + rev: v8.18.0 # Specify the desired version of Gitleaks + hooks: + - id: gitleaks \ No newline at end of file