ci(forgejo): generate banlist history graph\n\n- Add scripts/banlist_metrics.py to compute counts from git history and render chart\n- Add Forgejo workflow using demisto/matplotlib image + warm-workspace checkout\n- Keep GitHub workflow for portability; remove old .gitea workflow\n- Update README with embedded SVG and CSV link
Some checks failed
Generate banlist history graph / build (push) Failing after 1s

This commit is contained in:
codex-bot 2025-08-26 22:35:32 -05:00
commit 3a8d73edcd
4 changed files with 352 additions and 0 deletions

View file

@ -7,6 +7,12 @@ A small repository that publishes the current WageNet IP blocklist. The list is
- `update.sh`: helper script that copies a source list into the repo, commits, and pushes updates.
- `LICENSE`: license for this repository (GPL3.0).
## Ban List History
- History chart: `assets/banlist_history.svg`
- CSV data: `metrics/banlist_counts.csv`
![Ban list size over time](assets/banlist_history.svg)
## File format
- Plain text, UTF8.
- Lines beginning with `#` are comments/metadata.
@ -52,6 +58,15 @@ https://git.jordanwages.com/wagesj45/wagenet-ip-ban-list/raw/branch/main/banned.
Note: Always validate the list for your environment and merge with any allowlists you maintain.
### CIgenerated graph
This repository includes a workflow that scans git history to count the number of noncomment lines in `banned.txt` at each change and generates:
- A CSV at `metrics/banlist_counts.csv`
- A chart at `assets/banlist_history.svg` (embedded above)
The workflow runs on pushes to `main` that modify `banned.txt` and nightly on a schedule. Commits from the workflow are marked with `[skip ci]` to avoid loops.
## Appealing
If you feel your IP is in this list by mistake, please [file an issue](https://git.jordanwages.com/wagesj45/wagenet-ip-ban-list/issues) to appeal.