From f6b5c28865666512faf5a1152f137f5769338a73 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Sat, 8 Jun 2024 15:57:13 +0700 Subject: [PATCH] chore: add 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 }}