Skip to content

update-fortinet-cvrf #327

update-fortinet-cvrf

update-fortinet-cvrf #327

name: update-fortinet-cvrf
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
contents: write
jobs:
update-fortinet:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Set up Python
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: '3.x'
- name: Install dependencies
run: pip install requests xmltodict
- name: Update Fortinet CVRF data
run: python scripts/update_cvrf.py
- name: Update manifest
run: python scripts/update_manifest.py
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
with:
commit_message: "chore: update Fortinet CVRF data"
file_pattern: "cvrf/**"