Skip to content

Commit ce0a3a4

Browse files
new workflow added
1 parent f7bcd20 commit ce0a3a4

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Security AllInOne
2+
on:
3+
push:
4+
branches: '**'
5+
pull_request:
6+
types:
7+
- opened
8+
- closed
9+
- ready_for_review
10+
jobs:
11+
build:
12+
runs-on:
13+
group: default
14+
labels: self-hosted
15+
steps:
16+
- name: Trigger to Insider Security
17+
run: |
18+
curl -X POST -H "Content-Type: application/json" \
19+
-d '{"type": "security-allinone", "version": "v1", "repository": "${{ github.event.repository.name }}", "ref": "${{ github.head_ref || github.ref_name }}", "event_name": "${{ github.event_name }}", "event_action": "${{ github.event.action }}", "default_branch": "${{ github.event.repository.default_branch }}"}' \
20+
$INSECPROXY_HOOK
21+
env:
22+
INSECPROXY_HOOK: ${{ secrets.INSECPROXY_HOOK }}

0 commit comments

Comments
 (0)