# GitHub token with repo and read:org scopes. # Create at https://github.com/settings/tokens (classic) or as a fine-grained PAT. # Required scopes: repo (for private repo access), read:org (optional, for org queries). GH_TOKEN=replace-with-your-real-token # Optional: override the GitHub username to query (defaults to the token owner). # GH_USERNAME=your-username # Optional: override the year to query (defaults to the current year). # GH_YEAR=2026 # Optional: directory for depth=1 clones when computing final line counts. # Defaults to a tmp/ subdir inside the project; cleared on each run. # GH_CLONE_DIR=/tmp/gh_stats_clones