Repository: spicyparrot/kafka_scrapy_connect (language: python)

Issue:
feat: create dependabot action



Discussion / hints:

Fix patch:
diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml
new file mode 100644
index 0000000..749ba7a
--- /dev/null
+++ b/.github/workflows/gitleaks.yml
@@ -0,0 +1,14 @@
+name: 🔐 Git Leaks
+on: [pull_request]
+jobs:
+  scan:
+    name: 🔐 Git Leaks
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4
+        with:
+          fetch-depth: 0
+      - uses: gitleaks/gitleaks-action@v2.3.3
+        env:
+          GITHUB_TOKEN: ${{ github.token }}
+          GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts.
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..c9528f4
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,5 @@
+repos:
+  - repo: https://github.com/gitleaks/gitleaks
+    rev: v8.16.1
+    hooks:
+      - id: gitleaks


Test patch:
diff --git a/.github/workflows/test_pypi.yml b/.github/workflows/test_pypi.yml
index 30078ee..6370107 100644
--- a/.github/workflows/test_pypi.yml
+++ b/.github/workflows/test_pypi.yml
@@ -3,7 +3,7 @@ name: 🐍 Publish Python distributions to testPyPI
 on:
   # Triggers the workflow when a release is created
   release:
-    types: [created]
+    types: [published]
   # Allows you to run this workflow manually from the Actions tab
   workflow_dispatch: