Gitleaks Action provides a simple way to run gitleaks in your CI/CD pipeline.
name: gitleaks
on: [push,pull_request]
jobs:
gitleaks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: gitleaks-action
uses: zricethezav/gitleaks-action@master
Simple include a .gitleaks.toml in the root of your repo directory.