Merge pull request #9341 from daffainfo/patch-12 #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Repositories Workflow | |
on: | |
push: | |
paths: | |
- '.new-additions' | |
- 'http/cves/2023/CVE-2023-49785.yaml' | |
- 'http/exposed-panels/emqx-panel.yaml' | |
- 'http/exposed-panels/neocase-hrportal-panel.yaml' | |
- 'http/exposed-panels/osnexus-panel.yaml' | |
- 'http/exposed-panels/posteio-admin-panel.yaml' | |
- 'http/misconfiguration/posteio-installer.yaml' | |
- 'http/vulnerabilities/landray/landray-eis-ws-infoleak.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' |