From e206b4146bdd86b65408f13976f9ab174b220664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Tue, 21 Apr 2020 12:19:23 +0800 Subject: [PATCH] chore: add gitleaks.yml (#23425) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add gitleaks.yml * Update gitleaks.yml * chore: add gitleaks (#23428) * chore: add gitleaks * chore: remove gitleaks * Apply suggestions from code review Co-authored-by: pr Co-authored-by: 偏右 Co-authored-by: 信鑫-King --- .github/workflows/gitleaks.yml | 17 +++++++++++++++++ 1 file changed, 17 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 0000000000..a9de45f2fd --- /dev/null +++ b/.github/workflows/gitleaks.yml @@ -0,0 +1,17 @@ +name: gitleaks + +on: [push,pull_request] + +jobs: + gitleaks: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: '1' + - name: wget + uses: wei/wget@v1 + with: + args: -O .gitleaks.toml https://raw.githubusercontent.com/ycjcl868/gitleaks/master/.gitleaks.toml + - name: gitleaks-action + uses: zricethezav/gitleaks-action@master