19 lines
760 B
YAML
19 lines
760 B
YAML
name: Sync Repositories Workflow
|
|
on:
|
|
push:
|
|
paths:
|
|
- '.new-additions'
|
|
- 'http/cves/2024/CVE-2024-2879.yaml'
|
|
- 'http/misconfiguration/dlink-unauth-cgi-script.yaml'
|
|
- 'http/misconfiguration/intelbras-dvr-unauth.yaml'
|
|
- 'http/misconfiguration/thanos-prometheus-exposure.yaml'
|
|
workflow_dispatch:
|
|
jobs:
|
|
triggerRemoteWorkflow:
|
|
if: github.repository == 'projectdiscovery/nuclei-templates'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Trigger Remote Workflow with curl
|
|
run: |
|
|
curl -i -s -k -X 'POST' -H 'Host: api.github.com' -H "Authorization: token ${{ secrets.GTOKEN }}" --data-binary $'{\"ref\":\"main\"}' 'https://api.github.com/repos/projectdiscovery/early-templates/actions/workflows/reposync.yml/dispatches'
|