From d0cdda86b4d640be9e1eff127ee6362e480e96ed Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 27 May 2024 03:55:36 +0200 Subject: [PATCH] Update generate_cve_json.yml --- .github/workflows/generate_cve_json.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/generate_cve_json.yml b/.github/workflows/generate_cve_json.yml index e084dda568..9c7ce4f03a 100644 --- a/.github/workflows/generate_cve_json.yml +++ b/.github/workflows/generate_cve_json.yml @@ -23,8 +23,7 @@ jobs: - name: Change directory to docs and run CVE JSON generator script run: | - git branch -m main - remote set-url origin git@github.com:0xMarcio/cve.git + git checkout main cd docs python generate_cve_list.py @@ -33,8 +32,8 @@ jobs: cd .. git config --global user.name '0xMarcio' git config --global user.email 'marc@codepwn.win' - git add docs/CVE_list.json + git add . git commit -m 'Update CVE list JSON' - git push + git push env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}