[PR #3115] [MERGED] ci: auto-close needs-title issues after 7 days #3189

Closed
opened 2026-06-05 18:21:22 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3115
Author: @mdrxy
Created: 3/13/2026
Status: Merged
Merged: 3/13/2026
Merged by: @mdrxy

Base: mainHead: mdrxy/auto-close


📝 Commits (1)

  • 2a404a9 ci: auto-close needs-title issues after 7 days

📊 Changes

1 file changed (+66 additions, -0 deletions)

View changed files

.github/workflows/close-needs-title.yml (+66 -0)

📄 Description

Completes the needs-title issue lifecycle. The existing check-default-title workflow labels issues with default/placeholder titles, but there was no automated cleanup — labeled issues sat open indefinitely. This adds a weekly scheduled workflow to close them after 7 days, plus a fix to the existing workflow so the label gets removed when an author updates their title.

Changes

  • Add close-needs-title.yml scheduled workflow (Monday 9 AM UTC + manual dispatch) that paginates all open issues labeled needs-title, skips PRs and issues younger than 7 days, then comments and closes as not_planned
  • Fix the check-default-title workflow's early-return path: when a title is edited to be descriptive, call issues.removeLabel to strip needs-title — previously the label stuck around permanently

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3115 **Author:** [@mdrxy](https://github.com/mdrxy) **Created:** 3/13/2026 **Status:** ✅ Merged **Merged:** 3/13/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `mdrxy/auto-close` --- ### 📝 Commits (1) - [`2a404a9`](https://github.com/langchain-ai/docs/commit/2a404a91a3d0cafe7f3110ef582cb457201536c7) ci: auto-close needs-title issues after 7 days ### 📊 Changes **1 file changed** (+66 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/close-needs-title.yml` (+66 -0) </details> ### 📄 Description Completes the `needs-title` issue lifecycle. The existing `check-default-title` workflow labels issues with default/placeholder titles, but there was no automated cleanup — labeled issues sat open indefinitely. This adds a weekly scheduled workflow to close them after 7 days, plus a fix to the existing workflow so the label gets removed when an author updates their title. ## Changes - Add `close-needs-title.yml` scheduled workflow (Monday 9 AM UTC + manual dispatch) that paginates all open issues labeled `needs-title`, skips PRs and issues younger than 7 days, then comments and closes as `not_planned` - Fix the `check-default-title` workflow's early-return path: when a title is edited to be descriptive, call `issues.removeLabel` to strip `needs-title` — previously the label stuck around permanently --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:21:22 -04:00
yindo closed this issue 2026-06-05 18:21:22 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3189