From f21048dccd0ed8cdd477795f1ee7a8f9b45fa4ed Mon Sep 17 00:00:00 2001 From: Dwi Siswanto Date: Thu, 13 Jul 2023 03:22:59 +0700 Subject: [PATCH] chore: add conditional exec for cve2json workflow (#7681) This commit adds a condition to the cve2json workflow. The workflow will now only run if the repository is not a forked repository. This change ensures that the workflow is executed only in the specified repository. --- .github/workflows/cve2json.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cve2json.yml b/.github/workflows/cve2json.yml index 0ad846f2db..0dffd1488a 100644 --- a/.github/workflows/cve2json.yml +++ b/.github/workflows/cve2json.yml @@ -11,6 +11,7 @@ on: jobs: cve2json: runs-on: ubuntu-latest + if: github.repository == 'projectdiscovery/nuclei-templates' steps: - uses: actions/checkout@master - name: Set up Go