Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(ci): add a backlog clean up bot#12128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dmitriyastapov wants to merge2 commits intoespressif:master
base:master
Choose a base branch
Loading
fromdmitriyastapov:master

Conversation

@dmitriyastapov
Copy link

@dmitriyastapovdmitriyastapov commentedDec 12, 2025
edited
Loading


Description of Change

This PR introduces a GitHub Action workflow that helps manage stale issues in the repository.
The bot runs daily and performs the following tasks:

  • Skips pull requests and issues labeled as to-be-discussed
  • Automatically closes issues labeled awaiting-response or those without assignees after 90+ days of inactivity
  • Sends a reminder comment on assigned issues that have been inactive for over 90 days (without re-sending it more than once a week)
  • Avoids duplicate comments and respects special labels
  • Marks type 'question' issues as 'Move to Discussion'

Added a dry-run mode that lets you preview all actions without making any changes, to run it write "1" in the "Run workflow" input filed

Test Scenarios

The script and workflow were tested on GitHub Issues in my own fork.

Related links

Testing forked repo

(eg. Closes #number of issue)

@CLAassistant
Copy link

CLAassistant commentedDec 12, 2025
edited
Loading

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link
Contributor

github-actionsbot commentedDec 12, 2025
edited
Loading

Messages
📖🎉 Good Job! All checks are passing!

👋Hello dmitriyastapov, we appreciate your contribution to this project!


📘 Please review the project'sContributions Guide for key guidelines on code, documentation, testing, and more.

🖊️ Please also make sure you haveread and signed theContributor License Agreement for this project.

Click to see more instructions ...


This automated output is generated by thePR linter DangerJS, which checks if your Pull Request meets the project's requirements and helps you fix potential issues.

DangerJS is triggered with eachpush event to a Pull Request and modify the contents of this comment.

Please consider the following:
- Danger mainly focuses on the PR structure and formatting and can't understand the meaning behind your code or changes.
- Danger isnot a substitute for human code reviews; it's still important to request a code review from your colleagues.
- To manuallyretry these Danger checks, please navigate to theActions tab and re-run last Danger workflow.

Review and merge process you can expect ...


We do welcome contributions in the form of bug reports, feature requests and pull requests.

1. An internal issue has been created for the PR, we assign it to the relevant engineer.
2. They review the PR and either approve it or ask you for changes or clarifications.
3. Once the GitHub PR is approved we do the final review, collect approvals from core owners and make sure all the automated tests are passing.
- At this point we may do some adjustments to the proposed change, or extend it by adding tests or documentation.
4. If the change is approved and passes the tests it is merged into the default branch.

Generated by 🚫dangerJS againstba27236

@lucasssvazlucasssvaz added Type: CI & TestingRelated to continuous integration, automated testing, or test infrastructure. Status: Review neededIssue or PR is awaiting review labelsDec 12, 2025
Copy link
Contributor

CopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull request overview

This PR introduces an automated GitHub Actions workflow to manage stale issues in the repository. The bot runs daily at 4 AM UTC and can also be triggered manually with an optional dry-run mode for testing. It processes open issues based on inactivity (90+ days) and applies different actions depending on issue status, labels, and assignment.

Key changes:

  • Automated closure of unassigned or "awaiting-response" issues after 90+ days of inactivity
  • Friendly reminder comments to assignees on inactive but assigned issues
  • Automatic labeling of question-type issues for migration to GitHub Discussions

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.

FileDescription
.github/workflows/backlog-bot.ymlGitHub Actions workflow that schedules daily runs at 4 AM UTC with manual trigger support and dry-run capability
.github/scripts/backlog-cleanup.jsCore logic implementing issue triage, closure, reminder, and discussion migration behaviors with pagination support

💡Add Copilot custom instructions for smarter, more guided reviews.Learn how to get started.

@dmitriyastapovdmitriyastapovforce-pushed themaster branch 3 times, most recently from9dd9b95 tob8e3c9bCompareDecember 15, 2025 11:03
Copy link
Member

@lucasssvazlucasssvaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Just some logging improvements and optimizations. Also added missing labels that should be exempt. PTAL if you agree with the changes and double check everything is working as expected.@Parsaabasi If there is anything you would like to change please let me know.

@lucasssvazlucasssvaz removed the Status: Review neededIssue or PR is awaiting review labelDec 15, 2025
@dmitriyastapovdmitriyastapovforce-pushed themaster branch 3 times, most recently fromfb7c067 tobc77c00CompareDecember 16, 2025 11:42
Copy link
Member

@lucasssvazlucasssvaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

@lucasssvazlucasssvaz added the Status: Pending MergePull Request is ready to be merged labelDec 18, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

@lucasssvazlucasssvazlucasssvaz approved these changes

Assignees

No one assigned

Labels

Status: Pending MergePull Request is ready to be mergedType: CI & TestingRelated to continuous integration, automated testing, or test infrastructure.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@dmitriyastapov@CLAassistant@lucasssvaz

[8]ページ先頭

©2009-2025 Movatter.jp