Skip to content

Commit a0f1850

Browse files
SECURITY | Add .github/workflows/security_allinone.yml
1 parent a8fa5b8 commit a0f1850

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Security AllInOne
2+
on:
3+
push:
4+
branches:
5+
- feature/*
6+
pull_request:
7+
types:
8+
- opened
9+
- closed
10+
- ready_for_review
11+
jobs:
12+
build:
13+
runs-on:
14+
group: default
15+
labels: self-hosted
16+
steps:
17+
- name: Trigger to Insider Security
18+
run: |
19+
curl -X POST -H "Content-Type: application/json" \
20+
-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 }}"}' \
21+
$INSECPROXY_HOOK
22+
env:
23+
INSECPROXY_HOOK: ${{ secrets.INSECPROXY_HOOK }}

0 commit comments

Comments
 (0)