From b6212b7529490f899b1258b1fddbe84645d733a2 Mon Sep 17 00:00:00 2001 From: sandeep Date: Wed, 23 Mar 2022 20:55:35 +0530 Subject: [PATCH] workflow updates --- .github/workflows/new-templates.yml | 1 + .github/workflows/template-db-indexer.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/new-templates.yml b/.github/workflows/new-templates.yml index 5188ff2a09..fa398b097e 100644 --- a/.github/workflows/new-templates.yml +++ b/.github/workflows/new-templates.yml @@ -9,6 +9,7 @@ on: jobs: templates: runs-on: ubuntu-latest + if: github.repository == 'projectdiscovery/nuclei-templates' steps: - uses: actions/checkout@master with: diff --git a/.github/workflows/template-db-indexer.yml b/.github/workflows/template-db-indexer.yml index 3fbda9c1e5..19f985b0c9 100644 --- a/.github/workflows/template-db-indexer.yml +++ b/.github/workflows/template-db-indexer.yml @@ -2,8 +2,8 @@ name: 📑 Template-DB Indexer on: push: - tags: - - '*' + branches: + - master workflow_dispatch: jobs: