Explorar o código

Create gitleaks.yml (#884)

Zachary Rice %!s(int64=3) %!d(string=hai) anos
pai
achega
d51ce47d86
Modificáronse 1 ficheiros con 14 adicións e 0 borrados
  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}}