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.
patch-1
Dwi Siswanto 2023-07-13 03:22:59 +07:00 committed by GitHub
parent 51336ffe92
commit f21048dccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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