diff --git a/.github/workflows/nvd-cache.yml b/.github/workflows/nvd-cache.yml index 03a1f2bfa57..17f4c781e62 100644 --- a/.github/workflows/nvd-cache.yml +++ b/.github/workflows/nvd-cache.yml @@ -1,6 +1,9 @@ name: NVD Data Workflow Schedule on: + push: + branches: + - owasp-check schedule: - cron: '0 5 * * 1,2,3,4,5' workflow_dispatch: { } @@ -43,7 +46,7 @@ jobs: - name: Generate data working-directory: ./data - run: ./vulnz.jar cve --cache --directory ./cache + run: ./vulnz.jar cve --cache --directory ./cache --delay=10000 --maxRetry=20 env: NVD_API_KEY: ${{ secrets.NVD_API_KEY }}