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

24 lines
1003 B
YAML
Raw Normal View History

2023-12-14 04:10:00 +00:00
name: Sync Repositories Workflow
on:
push:
paths:
- '.new-additions'
2024-03-12 05:34:20 +00:00
- 'http/cves/2023/CVE-2023-49785.yaml'
2024-03-14 18:07:30 +00:00
- 'http/cves/2024/CVE-2024-1698.yaml'
2024-03-13 11:35:51 +00:00
- 'http/exposed-panels/emqx-panel.yaml'
2024-03-13 19:13:09 +00:00
- 'http/exposed-panels/neocase-hrportal-panel.yaml'
2024-03-13 11:35:10 +00:00
- 'http/exposed-panels/osnexus-panel.yaml'
- 'http/exposed-panels/posteio-admin-panel.yaml'
2024-03-14 05:16:26 +00:00
- 'http/exposed-panels/skeepers-panel.yaml'
2024-03-14 04:28:40 +00:00
- 'http/misconfiguration/installer/posteio-installer.yaml'
2024-03-13 11:36:57 +00:00
- 'http/vulnerabilities/landray/landray-eis-ws-infoleak.yaml'
2023-12-14 04:10:00 +00:00
workflow_dispatch:
jobs:
triggerRemoteWorkflow:
2024-03-02 09:35:40 +00:00
if: github.repository == 'projectdiscovery/nuclei-templates'
2024-03-04 09:34:20 +00:00
runs-on: ubuntu-latest
2023-12-14 04:10:00 +00:00
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'