From 784417041bb10a9713dc6cff1832fde2320c952f Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Fri, 7 Jun 2024 22:28:42 +0700 Subject: [PATCH] chore: gitleaks --- .github/workflows/gitleaks.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/gitleaks.yml diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml new file mode 100644 index 0000000..c457e41 --- /dev/null +++ b/.github/workflows/gitleaks.yml @@ -0,0 +1,16 @@ +name: gitleaks +on: + push: + pull_request: + +jobs: + scan: + 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 }}