protontypes / climate-triage

Find your impactful open source contribution to climate technology and sustainability.
https://climatetriage.com
MIT License
32 stars 4 forks source link

Better date field for "last activity" #6

Closed andrew closed 7 months ago

andrew commented 7 months ago

The code at https://github.com/protontypes/open-climate-impact/blob/main/data/index.ts#L35C52-L35C52 uses last_synced_at from OST, but that doesn't mean the repo was updated, it's just when OST last checked for updates, regardless of if there were any.

Two better fields on the repository object of the project are pushed_at (when a commit was last pushed to the main branch or updated_at when anything has changed, issues, pull reqests, commits, branches etc

Codeshark-NET commented 7 months ago

Fixed with https://github.com/protontypes/open-climate-impact/commit/f71ebdf9f3aa9500d327e9d117c487c8014f43cf , thanks! 🙌