Skip to content

Merge branch 'dev' into main #175

Merge branch 'dev' into main

Merge branch 'dev' into main #175

name: 🛠 Template Validate
on:
push:
pull_request:
paths:
- '**.yaml'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x
- name: nuclei install
run: go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
- name: Template Validation
run: |
cp -r ${{ github.workspace }}/templates /home/runner/nuclei-templates
nuclei -duc -validate -allow-local-file-access
nuclei -duc -validate -allow-local-file-access -w /home/runner/nuclei-templates/workflows