diff --git a/.github/workflows/check-gitleaks.yml b/.github/workflows/check-gitleaks.yml new file mode 100644 index 0000000..b9227ec --- /dev/null +++ b/.github/workflows/check-gitleaks.yml @@ -0,0 +1,18 @@ +name: gitleaks +on: + pull_request: + push: + branches: + - '**' +jobs: + scan: + name: gitleaks + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.1.1 + with: + fetch-depth: 0 + - uses: gitleaks/gitleaks-action@v2.3.4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts. \ No newline at end of file