-
Notifications
You must be signed in to change notification settings - Fork 17
27 lines (26 loc) · 1.03 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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