Skip to content

ci: migrate from probot/stale to actions/stale - #6926

Open
yottanami wants to merge 2 commits into
beetbox:masterfrom
yottanami:agent/71-migrate-stale-action
Open

ci: migrate from probot/stale to actions/stale#6926
yottanami wants to merge 2 commits into
beetbox:masterfrom
yottanami:agent/71-migrate-stale-action

Conversation

@yottanami

Copy link
Copy Markdown

What

Migrates the deprecated probot/stale bot config (.github/stale.yml) to the actions/stale GitHub Action (.github/workflows/stale.yaml), per the project's own README pointer that probot/stale is unmaintained and actions/stale is the replacement.

Why

probot/stale is deprecated upstream and no longer maintained. actions/stale is the drop-in replacement and doesn't require a third-party GitHub App integration.

What changed

  • Removed .github/stale.yml
  • Added .github/workflows/stale.yaml using actions/stale@v9

All schedule/scoping/message values are ported 1:1 from the old config (unchanged wording):

  • 60 days before an issue is marked stale, 120 days for PRs, 7 days before close
  • Only issues labeled needinfo are eligible (matches old only-issue-labels)
  • Both stale messages are copied verbatim

How this was tested

No code/runtime to execute — this is a GitHub Actions workflow config change. Verified:

$ nix shell nixpkgs#yq-go -c yq eval '.jobs' .github/workflows/stale.yaml
(parses clean, no errors)

Also diffed the old .github/stale.yml values against the new workflow's with: block line by line to confirm every value (days-until-stale, days-until-close, labels, both message bodies) was ported exactly.

Note for maintainers

The probot Stale GitHub App itself will still need manual uninstallation from the beetbox org — that's not something a PR can do, just flagging it here so it isn't missed.

Closes #4872

probot/stale is unmaintained; the project's own README points
adopters to actions/stale instead. Replace .github/stale.yml with
.github/workflows/stale.yaml, porting the existing schedule (60
days for needinfo-labeled issues, 120 days for PRs, close after 7
days) and messages 1:1.

Note: this only replaces the config file. The probot Stale GitHub
App itself will still need to be uninstalled from the repo/org
separately, which isn't something a PR can do.

Closes beetbox#4872
@yottanami
yottanami marked this pull request as ready for review August 11, 2026 16:28
@yottanami
yottanami requested a review from a team as a code owner August 11, 2026 16:28
@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.74%. Comparing base (74c2d98) to head (e40f919).
⚠️ Report is 13 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6926      +/-   ##
==========================================
+ Coverage   75.69%   75.74%   +0.04%     
==========================================
  Files         163      164       +1     
  Lines       21412    21437      +25     
  Branches     3384     3379       -5     
==========================================
+ Hits        16208    16237      +29     
+ Misses       4405     4400       -5     
- Partials      799      800       +1     

see 14 files with indirect coverage changes

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stale bot is deprecated; we should switch to the stale GH action

1 participant