Skip to content

Commit

Permalink
run vdr creation for the whole vdr period
Browse files Browse the repository at this point in the history
  • Loading branch information
Scanteianu committed May 10, 2024
1 parent b287aa4 commit 41a7c80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/vdr-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,13 @@ jobs:
mkdir -p data
python3 ojvg_download.py
python3 ojvg_convert.py
- name: Upload data directory
- name: Upload data directory (for debugging/introspection)
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 #v4.3.3
with:
name: data directory
path: data
- name: Upload final vdr
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 #v4.3.3
with:
name: data directory
path: data/vdr.json
3 changes: 1 addition & 2 deletions ojvg_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
It downloads all the vulnerability reports as html files to the `data` directory and saves the relevant data in `data/ojvg_summary.json`
"""
start_date = date(2019, 1, 1)
end_date = date(2019, 12, 31)
#end_date = date.today()
end_date = date.today()
current_date = start_date
responses = []
while current_date < end_date:
Expand Down

0 comments on commit 41a7c80

Please sign in to comment.