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 Aug 6, 2024
1 parent 03d66d0 commit ad00886
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 ad00886

Please sign in to comment.