cffbots / filtering

Tool to discover github repos that could benefit from cffconvert-github-action
Apache License 2.0
1 stars 0 forks source link

Filter inactive repos #35

Closed abelsiqueira closed 2 years ago

abelsiqueira commented 2 years ago

Some repos have not seen activity in a while (over 3 years, for instance). Should we remove them?

jspaaks commented 2 years ago

Yeah probably

jspaaks commented 2 years ago

Maybe with events api

await octokit.request('GET /repos/{owner}/{repo}/events', {
  owner: 'octocat',
  repo: 'hello-world'
})
abelsiqueira commented 2 years ago

I implemented it using the last commit. From what I understood, the events include activity from third-party, like creating issues, which is not enough to determine that the repo is active. Also, it looks like "Only events created within the past 90 days will be included in timelines", taken from here.

abelsiqueira commented 2 years ago

Merged