mirror of
https://github.com/0xMarcio/cve.git
synced 2025-06-19 17:30:12 +00:00
Update generate_cve_json.yml
This commit is contained in:
parent
16211e7e80
commit
d0cdda86b4
7
.github/workflows/generate_cve_json.yml
vendored
7
.github/workflows/generate_cve_json.yml
vendored
@ -23,8 +23,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Change directory to docs and run CVE JSON generator script
|
- name: Change directory to docs and run CVE JSON generator script
|
||||||
run: |
|
run: |
|
||||||
git branch -m main
|
git checkout main
|
||||||
remote set-url origin git@github.com:0xMarcio/cve.git
|
|
||||||
cd docs
|
cd docs
|
||||||
python generate_cve_list.py
|
python generate_cve_list.py
|
||||||
|
|
||||||
@ -33,8 +32,8 @@ jobs:
|
|||||||
cd ..
|
cd ..
|
||||||
git config --global user.name '0xMarcio'
|
git config --global user.name '0xMarcio'
|
||||||
git config --global user.email 'marc@codepwn.win'
|
git config --global user.email 'marc@codepwn.win'
|
||||||
git add docs/CVE_list.json
|
git add .
|
||||||
git commit -m 'Update CVE list JSON'
|
git commit -m 'Update CVE list JSON'
|
||||||
git push
|
git push
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user