You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mark stale issues and PRs with GitHub workflow #3339
Issues and pull requests with no activity for a long time clutter the backlog, making triage harder and hiding items that still need attention. Automatically flagging and closing inactive items keeps the tracker focused and signals which threads are no longer followed. More information on how to support that on GitHub is available here.
What
Add a scheduled GitHub Actions workflow based on actions/stale that marks inactive issues and PRs as stale, closes them after a grace period, and exempts configured labels.
How
Create a .github/workflows/stale.yml triggered on a daily schedule and workflow_dispatch, with issues: write and pull-requests: write permissions.
Add an actions/stale step configuring days-before-stale, days-before-close, stale/close messages, and stale labels.
Configure exempt-issue-labels, exempt-pr-labels, and operations-per-run.
Activity