3 ms·
Show HN: Issue Duration Labeler – a GitHub Action that labels issue by age
I’ve built *Issue Duration Labeler*, a GitHub Action that automatically adds *color-coded duration labels* to every issue in a repo:
Default label thresholds:
Green – ≤ 7 days (configurable)
Orange – ≤ 30 days
Red – > 30 days
For open issues we compute “age” (creation → now). You can adjust the day thresholds and label colors in the workflow file, and choose whether labels update daily or only when they cross the next threshold.
*Why?*
I often lost track of how long tickets had been lingering, especially in older projects. A quick glance at the issue list or github project now tells us what’s fresh, what’s getting stale, and what’s officially ancient. It’s also handy for post-mortems: sort by red labels to see which bugs took the longest to close.
*Link*
https://github.com/marketplace/actions/issue-duration-labeler https://github.com/marketplace/actions/issue-duration-labele...