nuclei-templates/.github/workflows/templates-sync.yml

47 lines
2.2 KiB
YAML

name: Sync Repositories Workflow
on:
push:
paths:
- '.new-additions'
- 'dast/vulnerabilities/xinclude-injection.yaml'
- 'http/cves/2023/CVE-2023-3380.yaml'
- 'http/cves/2023/CVE-2023-41599.yaml'
- 'http/cves/2023/CVE-2023-52251.yaml'
- 'http/cves/2024/CVE-2024-27292.yaml'
- 'http/cves/2024/CVE-2024-32709.yaml'
- 'http/cves/2024/CVE-2024-34102.yaml'
- 'http/cves/2024/CVE-2024-37152.yaml'
- 'http/cves/2024/CVE-2024-37881.yaml'
- 'http/cves/2024/CVE-2024-5522.yaml'
- 'http/cves/2024/CVE-2024-6028.yaml'
- 'http/default-logins/apache/apache-apollo-default-login.yaml'
- 'http/default-logins/caprover/caprover-default-login.yaml'
- 'http/default-logins/dialogic/dialogic-xms-default-login.yaml'
- 'http/default-logins/jeedom/jeedom-default-login.yaml'
- 'http/exposed-panels/apache/apache-apollo-panel.yaml'
- 'http/exposed-panels/dialogic-xms-console.yaml'
- 'http/exposed-panels/endpoint-protector-panel.yaml'
- 'http/exposures/backups/sql-server-dump.yaml'
- 'http/exposures/configs/filestash-admin-config.yaml'
- 'http/exposures/configs/neo4j-neodash-config.yaml'
- 'http/misconfiguration/forgejo-repo-exposure.yaml'
- 'http/misconfiguration/installer/kodbox-installer.yaml'
- 'http/misconfiguration/installer/piwigo-installer.yaml'
- 'http/misconfiguration/installer/poste-io-installer.yaml'
- 'http/misconfiguration/seq-dashboard-unath.yaml'
- 'http/technologies/neo4j-neodash-detect.yaml'
- 'http/technologies/wordpress/plugins/chaty.yaml'
- 'http/vulnerabilities/backdoor/polyfill-backdoor.yaml'
- 'http/vulnerabilities/next-js-cache-poisoning.yaml'
- 'http/vulnerabilities/other/bagisto-csti.yaml'
- 'http/vulnerabilities/other/sharp-printers-lfi.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'