Skip to content

chore: add stale work item automation BED-9793 - #3339

Merged
elikmiller merged 2 commits into
mainfrom
chore/stale-work-items-bed-9793
Sep 21, 2026
Merged

elikmiller merged 2 commits into
mainfrom
chore/stale-work-items-bed-9793

Conversation

@elikmiller

@elikmiller elikmiller commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Description

Adds a daily BHCE workflow for stale work items:

  • Pull requests are marked stale after 14 days without activity and closed after a further 7 days.
  • GitHub issues are marked stale after 90 days without activity and closed after a further 90 days.

The workflow uses the stale label, resets the timer when new activity removes that label, and can be run manually.

Motivation and Context

Implements the GitHub stale-work automation portions of BED-9793 for BHCE.

Resolves BED-9793

Types of changes

  • Chore (a change that does not modify the application functionality)

Checklist:

  • I have ensured that related documentation is up-to-date
    • Code comments (GoDocs / JSDocs)
  • I have followed proper test practices
    • Added/updated tests to cover my changes
    • All new and existing tests passed

Summary by CodeRabbit

  • Chores
    • Added automated tracking for inactive issues and pull requests.
    • Issues are marked stale after 90 days and closed 90 days later if they remain inactive.
    • Pull requests are marked stale after 14 days and closed 7 days later if inactivity continues.
    • Stale items receive a stale label and status message.
    • The process runs on a schedule and can also be started manually.

@coderabbitai

coderabbitai Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

Understand this PR’s impact

Explore downstream dependencies and potential security impact with Blast Radius.

View blast radius →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Essentials

Run ID: 8f56002a-b76e-4345-8bb8-9bcba583c986

📥 Commits

Reviewing files that changed from the base of the PR and between 8f4d696 and a2f0923.

📒 Files selected for processing (1)
  • .github/workflows/stale-work-items.yml

Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

The pull request adds a daily and manually triggered GitHub Actions workflow. It uses actions/stale to mark and close stale issues and pull requests with separate time periods and messages.

Changes

Stale Work Items

Layer / File(s) Summary
Stale workflow configuration
.github/workflows/stale-work-items.yml
Adds license headers, triggers, write permissions, and actions/stale settings for separate issue and pull-request timelines, labels, and status messages.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the addition of stale work item automation and includes the associated ticket.
Description check ✅ Passed The description explains the workflow behavior, motivation, ticket, and change type. The testing section is omitted, and the testing checklist remains unchecked, but the description is otherwise suffi…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@elikmiller
elikmiller merged commit 1cec5a6 into main Sep 21, 2026
14 checks passed
@elikmiller
elikmiller deleted the chore/stale-work-items-bed-9793 branch September 21, 2026 19:12
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants