diff --git a/.github/workflows/secret-scan.yml b/.github/workflows/secret-scan.yml new file mode 100644 index 0000000..85e4fe5 --- /dev/null +++ b/.github/workflows/secret-scan.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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..93d4c32 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/gitleaks/gitleaks + rev: v8.18.4 + hooks: + - id: gitleaks \ No newline at end of file