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.
* removed in active workflow
soon to be replaced with templateman workflow.
* fixed checksum matcher
* Auto Generated Templates Checksum [Tue Jun 20 11:06:14 UTC 2023] 🤖
* more workflow fixes
---------
Co-authored-by: GitHub Action <action@github.com>
This commit updates the cve2json GitHub workflow to add a branch
restriction for `main` branch, thus we don't need to spesify
`branch` input for `ad-m/github-push-action` step & change
the filepath for the `yaml2json.go` script.
The changes ensure that the workflow only runs on the `main`
branch & simply use `$GITHUB_WORKSPACE` variable as a filepath
for generating the JSON metadata of CVE templates.