diff --git a/.github/workflows/templates-sync.yml b/.github/workflows/templates-sync.yml index 0bb873a00c..b4b40163de 100644 --- a/.github/workflows/templates-sync.yml +++ b/.github/workflows/templates-sync.yml @@ -1,5 +1,4 @@ name: Sync Repositories Workflow - on: push: paths: @@ -40,13 +39,11 @@ on: - 'javascript/misconfiguration/x11/x11-unauth-access.yaml' - 'javascript/udp/detection/db2-discover.yaml' workflow_dispatch: - workflow_call: - jobs: sync: if: github.repository == 'projectdiscovery/nuclei-templates' runs-on: ubuntu-latest steps: - - uses: projectdiscovery/actions/templates/sync@v1 - with: - token: '${{ secrets.GTOKEN }}' \ No newline at end of file + - uses: projectdiscovery/actions/templates/sync@v1 + with: + token: ${{ secrets.GTOKEN }}