Skip to content

Commit

Permalink
new workflow added
Browse files Browse the repository at this point in the history
  • Loading branch information
insider-automation committed Dec 1, 2023
1 parent 2081e72 commit c24e826
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 c24e826

Please sign in to comment.