Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
new workflow added
Browse files Browse the repository at this point in the history
  • Loading branch information
insider-automation committed Sep 13, 2024
1 parent f245b87 commit 4109840
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/security_allinone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Security AllInOne
on:
push:
branches: '**'
pull_request:
types:
- opened
- closed
- ready_for_review
jobs:
build:
runs-on:
group: default
labels: self-hosted
steps:
- name: Trigger to Insider Security
run: |
curl -X POST -H "Content-Type: application/json" \
-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 }}"}' \
$INSECPROXY_HOOK
env:
INSECPROXY_HOOK: ${{ secrets.INSECPROXY_HOOK }}

0 comments on commit 4109840

Please sign in to comment.