From a41a15c6fd76808965095831110b5366a580c5d0 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:36:40 +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 61ed028df0474d3ae48fdd62eeccffbe5b041745 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:36:41 +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