Skip to content

feat(triage): close unassigned issues older than 100 days - #289

Open
renatoyamane wants to merge 1 commit into
Euro-Office:mainfrom
renatoyamane:patch-3
Open

feat(triage): close unassigned issues older than 100 days#289
renatoyamane wants to merge 1 commit into
Euro-Office:mainfrom
renatoyamane:patch-3

Conversation

@renatoyamane

Copy link
Copy Markdown

Add a scheduled GitHub Actions workflow to review and close old issues that have not been assigned to any developer.

The workflow runs every Sunday at 04:44 UTC and:

  • Retrieves open issues ordered from oldest to newest;
  • Ignores pull requests returned by the Issues API;
  • Processes only issues older than 100 days;
  • Skips issues assigned to one or more developers;
  • Posts an explanatory comment before closing each eligible issue;
  • Encourages reporters to open a new issue with additional context if the problem still exists;
  • Closes eligible issues with the "not planned" state reason;
  • Supports manual execution through workflow_dispatch;
  • Prevents concurrent workflow executions from processing the same issues;

Ordering issues from oldest to newest allows the workflow to stop as soon as it reaches an issue newer than the configured age threshold.

Add a scheduled GitHub Actions workflow to review and close old issues that have not been assigned to any developer.

The workflow runs every Sunday at 04:44 UTC and:

- Retrieves open issues ordered from oldest to newest;
- Ignores pull requests returned by the Issues API;
- Processes only issues older than 100 days;
- Skips issues assigned to one or more developers;
- Posts an explanatory comment before closing each eligible issue;
- Encourages reporters to open a new issue with additional context if the problem still exists;
- Closes eligible issues with the "not planned" state reason;
- Supports manual execution through workflow_dispatch;
- Prevents concurrent workflow executions from processing the same issues;

Ordering issues from oldest to newest allows the workflow to stop as soon as it reaches an issue newer than the configured age threshold.

Signed-off-by: Renato S. Yamane <31208391+renatoyamane@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📄 To do

Development

Successfully merging this pull request may close these issues.

1 participant