To run the repo analytics follow the steps below:
- You must have a Github token, if you don't have one you can create one by following this guide.
- Install the requirements:
pip install -r .github/analytics/requirements.txt
- Run the analytics:
GITHUB_TOKEN=<token> \
python .github/analytics/get_repo_metrics.py \
--repo-owner google \
--repo-name flax