Keep published counts synchronized

This commit is contained in:
0xMarcio committed 2026-09-02 00:54:09 +02:00
1 parent 55279dcfe5
commit aad1789a71
13 files changed
+163 -30

No files matched your search

+13 -1
View File
@@ -32,11 +32,23 @@ jobs:
python3 -m unittest discover -s tests
python3 scripts/build_site.py
- name: Refresh published counts
run: |
python3 .github/hero.py
python3 .github/getTrending.py --counts-only
- name: Check for changes and commit
run: |
git config user.name 'CVE-BOT'
git config user.email '[email protected]'
git add --all -- index/cve_dates.json index/cve_record_state.json cves/
git add --all -- \
README.md \
docs/hero.svg \
docs/social-card.svg \
docs/stats.json \
index/cve_dates.json \
index/cve_record_state.json \
cves/
if git diff --cached --quiet; then
echo "No changes to commit"