29 lines
1.2 KiB
YAML
29 lines
1.2 KiB
YAML
name: Sync Repositories Workflow
|
|
on:
|
|
push:
|
|
paths:
|
|
- '.new-additions'
|
|
- 'http/cves/2019/CVE-2019-9632.yaml'
|
|
- 'http/cves/2023/CVE-2023-34993.yaml'
|
|
- 'http/cves/2024/CVE-2024-20767.yaml'
|
|
- 'http/cves/2024/CVE-2024-29059.yaml'
|
|
- 'http/exposed-panels/amprion-gridloss-panel.yaml'
|
|
- 'http/exposed-panels/safenet-authentication-panel.yaml'
|
|
- 'http/exposures/configs/deployment-ini.yaml'
|
|
- 'http/miscellaneous/form-detection.yaml'
|
|
- 'http/misconfiguration/https-to-http-redirect.yaml'
|
|
- 'http/technologies/celebrus-detect.yaml'
|
|
- 'http/technologies/privatebin-detect.yaml'
|
|
- 'http/vulnerabilities/dahua/dahua-eims-rce.yaml'
|
|
- 'http/vulnerabilities/huatian/huatian-oa-sqli.yaml'
|
|
- 'http/vulnerabilities/landray/landray-eis-sqli.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'
|