Skip to content

chore(ci): add stale issue triage workflow - #2259

Open
EliteCoder18 wants to merge 1 commit into
bitcoindevkit:masterfrom
EliteCoder18:feat/issue-triage-automation
Open

chore(ci): add stale issue triage workflow#2259
EliteCoder18 wants to merge 1 commit into
bitcoindevkit:masterfrom
EliteCoder18:feat/issue-triage-automation

Conversation

@EliteCoder18

Copy link
Copy Markdown

Description

Follow-up to bitcoindevkit/bdk_wallet#497.

Adds .github/workflows/stale.yml, based on the workflow introduced in the referenced PR, to automatically label and close inactive issues and abandoned pull requests in this repository.

The workflow uses actions/stale@v11

  • Issues inactive for 180 days -> marked stale -> closed after 30 additional days
  • Pull requests inactive for 180 days -> marked stale -> closed after 30 additional days
  • Issue exemptions: release, security, audit, do-not-close, and good first issue
  • Pull request exemptions: blocked, security, and do-not-close
  • Issues and pull requests associated with milestones are exempt
  • Runs weekly on Mondays at 09:00 UTC
  • Pull request runs are automatically forced into dry-run mode for safe validation
  • Stale labels are removed when new activity occurs

The timing and exemption policy are initially kept consistent with bitcoindevkit/bdk_wallet#497. They can be adjusted based on feedback.

Notes to the reviewers

The workflow runs with debug-only: true on pull request events. I also recommend running it manually with debug_only=true after merging and reviewing the results before the first scheduled Monday run.

Changelog notice

ci: add automated stale issue and pull request triage

Checklists

All Submissions:

@evanlinjin

Copy link
Copy Markdown
Member

ConceptACK

@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.36%. Comparing base (5108b5c) to head (5edb323).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2259   +/-   ##
=======================================
  Coverage   78.36%   78.36%           
=======================================
  Files          30       30           
  Lines        5945     5945           
  Branches      281      281           
=======================================
  Hits         4659     4659           
  Misses       1210     1210           
  Partials       76       76           
Flag Coverage Δ
rust 78.36% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@notmandatory

Copy link
Copy Markdown
Member

@EliteCoder18 please confirm that we don't need any new labels added to this repo for this PR. I added: blocked, stale, do-not-close, security.

@EliteCoder18

EliteCoder18 commented Aug 27, 2026

Copy link
Copy Markdown
Author

@EliteCoder18 please confirm that we don't need any new labels added to this repo for this PR. I added: blocked, stale, do-not-close, security.

Confirmed...I checked the workflow’s label configuration, no additional labels are needed. The newly added labels, together with the existing labels, cover all configured exemptions. Thanks!

@notmandatory notmandatory left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK 5edb323

Below are stats from last run which gives an idea what to expect when this workflow is enabled.

New stale items: 14
├── New stale issues: 11
└── New stale PRs : 3

@notmandatory notmandatory moved this to Needs Review in BDK Chain Aug 31, 2026
@notmandatory notmandatory added the chore Non-coding related work label Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Non-coding related work

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

3 participants