Update Report #42
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: Update Report | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
- cron: "0 */6 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10.14' | |
architecture: 'x64' | |
- name: Install library and other requirements | |
run: | | |
pip install jupyter nbconvert | |
pip install -r requirements.txt | |
- name: Run Notebooks | |
env: | |
GH_TOKEN: ${{ secrets.ORG_REPO_TOKEN }} | |
run: | | |
wget -q https://nvd.handsonhacking.org/nvd.jsonl | |
jupyter nbconvert --ExecutePreprocessor.timeout=-1 --to notebook --inplace --execute NVDVulnStatus.ipynb | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
default_author: github_actions | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |