Skip to content

Commit

Permalink
Security | Add git-leak.yml action
Browse files Browse the repository at this point in the history
  • Loading branch information
insider-automation committed Dec 27, 2023
1 parent edc1be5 commit 517936f
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 517936f

Please sign in to comment.