ソースを参照

Create gitleaks.yml (#884)

Zachary Rice 3 年 前
コミット
d51ce47d86
1 ファイル変更14 行追加0 行削除
  1. 14 0
      .github/workflows/gitleaks.yml

+ 14 - 0
.github/workflows/gitleaks.yml

@@ -0,0 +1,14 @@
+name: gitleaks
+on: [pull_request, push, workflow_dispatch]
+jobs:
+  scan:
+    name: gitleaks
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+        with:
+          fetch-depth: 0
+      - uses: zricethezav/gitleaks-action@v2.0.0
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}