mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
When PRs come from forks that were created before the enhance-cve-fields.py script was added, the workflow fails because the script doesn't exist in the PR branch. This fix checks if the script exists and fetches it from the base branch if needed. Fixes https://github.com/projectdiscovery/nuclei-templates/actions/runs/20262489530/job/58177646081