mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
chore: add gitleaks.yml (#23425)
* 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 <pr> Co-authored-by: 偏右 <afc163@gmail.com> Co-authored-by: 信鑫-King <chaolin.jcl@alibaba-inc.com>
This commit is contained in:
parent
c3e263f2f2
commit
e206b4146b
17
.github/workflows/gitleaks.yml
vendored
Normal file
17
.github/workflows/gitleaks.yml
vendored
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user