diff --git a/.github/workflows/secrets-scan.yml b/.github/workflows/secrets-scan.yml new file mode 100644 index 0000000..20aab07 --- /dev/null +++ b/.github/workflows/secrets-scan.yml @@ -0,0 +1,22 @@ +name: Secrets Scan + +on: + pull_request: + push: + branches: [develop, main] + +permissions: + contents: read + pull-requests: read + +jobs: + gitleaks: + name: gitleaks + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: gitleaks/gitleaks-action@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}