Skip to content

Commit

Permalink
SECURITY | Add .github/workflows/cxflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
insider-automation committed Sep 11, 2024
1 parent 19dfba1 commit 58249c8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/cxflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: CxFlow-GitHub-Pull-Request
on:
pull_request:
types: [ready_for_review]
jobs:
build:
runs-on: self-runner-node
steps:
- name: Trigger to Scanner Lambda
run: |
python -c '
import json,sys,requests;
github = {"repository": "'${{ github.event.repository.name }}'", "ref": "'${{ github.head_ref }}'"};
github_request = {"checkmarx_gitaction": github};
requests.post("'$LambdaWebHook'", json=github_request);'
env:
LambdaWebHook: ${{ secrets.INSECPROXY_HOOK }}

0 comments on commit 58249c8

Please sign in to comment.