feat: validate ASN metadata manifests

This commit is contained in:
spiritlhl committed 2026-07-22 01:52:11 +08:00
1 parent 72a3731059
commit 765774cb06
7 files changed
+210 -15

No files matched your search

+2 -2
View File
@@ -29,11 +29,11 @@ jobs:
run: go vet ./cmd/update-asn-metadata ./bgptools
- name: Commit semantic changes
run: |
if git diff --quiet -- bgptools/data/bgp-asn-map.json; then
if git diff --quiet -- bgptools/data/bgp-asn-map.json bgptools/data/bgp-asn-map.manifest.json; then
exit 0
fi
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add bgptools/data/bgp-asn-map.json
git add bgptools/data/bgp-asn-map.json bgptools/data/bgp-asn-map.manifest.json
git commit -m "chore(data): update ASN metadata"
git push