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 Jun 13, 2024
1 parent 0a5d5c7 commit c14c060
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.CHECKMARX_LAMBDA_WEBHOOK }}

0 comments on commit c14c060

Please sign in to comment.