Skip to content

chore(stale): adopt centralized reusable stale workflow#151

Merged
mttrbrts merged 1 commit into
mainfrom
chore/stale-maintainer-engagement-guard
May 16, 2026
Merged

chore(stale): adopt centralized reusable stale workflow#151
mttrbrts merged 1 commit into
mainfrom
chore/stale-maintainer-engagement-guard

Conversation

@mttrbrts
Copy link
Copy Markdown
Member

Summary

Adopts the centralized reusable stale workflow defined in accordproject/.github#2. This repo's .github/workflows/stale.yml is now a thin caller — all logic (stale periods, the maintainer-engaged label policy, auto-close gating) lives in one place across the org.

Why

  • One PR to change stale behaviour for every repo, instead of N.
  • A single kill-switch (enable-close: false) can disable auto-close org-wide.
  • The maintainer-engaged policy keeps stale-marking on everything but only auto-closes items where someone with author_association of OWNER, MEMBER, or COLLABORATOR has commented or reviewed — so contributor work that maintainers never touched is never silently closed.

Merge order

Merge accordproject/.github#2 first. The uses: accordproject/.github/.github/workflows/stale.yml@main reference in this PR resolves against main of that repo.

Tuning this repo only

Uncomment values under with: in .github/workflows/stale.yml to override defaults for this repo.

🤖 Generated with Claude Code

Replaces any per-repo stale workflow with a thin caller of the
reusable workflow at accordproject/.github. Behaviour changes now
happen in one place for the whole org.

Signed-off-by: Matt Roberts <matt@rbrts.uk>
@mttrbrts mttrbrts requested review from a team and Copilot May 16, 2026 11:56
@mttrbrts mttrbrts merged commit 8f87b23 into main May 16, 2026
14 checks passed
@mttrbrts mttrbrts deleted the chore/stale-maintainer-engagement-guard branch May 16, 2026 12:00
Copy link
Copy Markdown
Contributor

Copilot AI 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 adds a repository-local stale workflow that delegates stale issue/PR handling to the centralized reusable workflow in accordproject/.github.

Changes:

  • Adds scheduled and manual triggers for stale processing.
  • Grants required read/write permissions for issues and pull requests.
  • Calls the centralized reusable stale workflow with commented examples for repo-specific overrides.

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

@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 25961313050

Warning

Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes.
Quick fix: rebase this PR. Learn more →

Coverage remained the same at 64.167%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 1132
Covered Lines: 723
Line Coverage: 63.87%
Relevant Branches: 548
Covered Branches: 355
Branch Coverage: 64.78%
Branches in Coverage %: Yes
Coverage Strength: 5768.65 hits per line

💛 - Coveralls

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.

3 participants