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: