diff --git a/.github/workflows/git-secret-scan.yml b/.github/workflows/git-secret-scan.yml new file mode 100644 index 00000000000..c77d66dd18f --- /dev/null +++ b/.github/workflows/git-secret-scan.yml @@ -0,0 +1,15 @@ +name: gitleaks +on: + pull_request: + push: +jobs: + scan: + name: gitleaks + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: gitleaks/gitleaks-action@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}