Skip to content

Commit

Permalink
SECURITY | Add .github/workflows/git-leak.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
insider-automation committed Sep 11, 2024
1 parent 662fd11 commit 19dfba1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/git-leak.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Gitleaks-Action
on: [push]
jobs:
build:
runs-on: self-runner-node
steps:
- name: Trigger to Gitleak
run: |
python -c '
import json,sys,requests;
github = {"repository": "'${{ github.event.repository.name }}'", "ref": "'${{ github.ref_name }}'"};
github_request = {"insider_gitleak": github};
requests.post("'$LambdaWebHook'", json=github_request);'
env:
LambdaWebHook: ${{ secrets.INSECPROXY_HOOK }}

0 comments on commit 19dfba1

Please sign in to comment.