Bump github/codeql-action from 3.27.0 to 3.27.1 #126
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: VDR Creation | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
pull_request: # prs don't get secrets, but the API works (albeit 10x slower) without the api key | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Download ojvg | |
env: | |
NIST_NVD_TOKEN: ${{ secrets.NIST_NVD_TOKEN }} | |
run: | | |
mkdir -p data | |
python3 ojvg_download.py | |
python3 ojvg_convert.py | |
- name: Upload data directory (for debugging/introspection) | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: data directory | |
path: data | |
- name: Upload final vdr | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: final vdr | |
path: data/vdr.json |