Update MS Exchange versions dictionary #1140
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 MS Exchange versions dictionary" | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: "0 5 * * *" | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install python deps | |
run: pip install lxml requests looseversion | |
- name: Crawl versions and create dictionary | |
working-directory: ./automation | |
run: | | |
python parse_exchange_versions.py ../ms-exchange-versions-dict.json ../ms-exchange-unique-versions-dict.json | |
python update_main_exchange_versions_cves.py ../ms-exchange-unique-versions-dict.json ../ms-exchange-versions-cves-dict.json | |
python update_patches_exchange_versions_cves.py ../ms-exchange-versions-dict.json ../ms-exchange-versions-cves-dict.json | |
python process_ms_cve_security_advisories_cves.py ../ms-exchange-versions-cves-dict.json | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: automatic update |