digital-sustainability / oss-github-benchmark

Benchmark of OSS projects on GitHub
GNU General Public License v3.0
14 stars 20 forks source link

Verify github_repos.json before accepting changes #272

Closed brawer closed 12 months ago

brawer commented 12 months ago

We just had a multi-day outage where the crawler didn't make progress because the config file github_repos.jsonhad a malformed entry. To prevent this, write a small script that checks the validity of this file (returning non-zero status if it’s broken), and run it as a GitHub action. Then, the file gets validated as soon as anyone sends a GitHub pull request.