Skip to content

Commit

Permalink
Security | Add cxflow.yml action
Browse files Browse the repository at this point in the history
  • Loading branch information
insider-automation committed Oct 31, 2023
1 parent 2ae0593 commit a7e919d
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.CHECKMARX_LAMBDA_WEBHOOK }}

0 comments on commit a7e919d

Please sign in to comment.