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-13 06:53:02 +00:00
|
|
|
- 'http/misconfiguration/posteio-installer.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'
|