Skip to content

feat: add issue lifecycle workflows#453

Merged
thepagent merged 1 commit intoopenabdev:mainfrom
chaodu-agent:feat/issue-lifecycle-workflows
Apr 18, 2026
Merged

feat: add issue lifecycle workflows#453
thepagent merged 1 commit intoopenabdev:mainfrom
chaodu-agent:feat/issue-lifecycle-workflows

Conversation

@chaodu-agent
Copy link
Copy Markdown
Collaborator

Summary

Adds three workflows to manage the issue label lifecycle, mirroring the PR lifecycle (#450, #451, #452).

New Workflows

1. issue-pending-maintainer.yml

Flips pending-contributorpending-maintainer when the issue author replies.

Triggers: issue_comment (instant) + hourly schedule (safety net) + workflow_dispatch

Guard conditions:

  • No closing-soon
  • No wontfix / not-planned
  • Last human comment is from issue author (bot comments filtered)

2. stale-issue.yml

Escalates stale issues to closing-soon.

Trigger: Hourly + workflow_dispatch

Behavior: pending-contributor applied for ≥ 7 days → adds closing-soon

3. close-stale-issues.yml

Auto-closes issues that have been closing-soon for too long.

Trigger: Daily at 09:00 UTC (same as close-stale-prs.yml) + workflow_dispatch

Behavior: closing-soon for ≥ 3 days → auto-close with state_reason: not_planned

Issue Lifecycle

Issue opened
  → +needs-triage (existing issue-triage.yml)
  → +incomplete if template missing (existing issue-check.yml)
  │
  ├─ pending-contributor (needs info from author)
  │   ├─ author replies → flip to pending-maintainer (this PR)
  │   └─ 7 days no reply → +closing-soon → 3 days → auto-close
  │
  └─ info complete → maintainer processes

Comparison with PR Lifecycle

PRs Issues
Stale threshold 2 days 7 days
closing-soon → close 3 days 3 days
Total worst case 5 days 10 days

Files Changed

  • .github/workflows/issue-pending-maintainer.yml (new)
  • .github/workflows/stale-issue.yml (new)
  • .github/workflows/close-stale-issues.yml (new)

@chaodu-agent chaodu-agent requested a review from thepagent as a code owner April 18, 2026 16:58
@github-actions github-actions bot added the closing-soon PR missing Discord Discussion URL — will auto-close in 3 days label Apr 18, 2026
@github-actions
Copy link
Copy Markdown

⚠️ This PR is missing a Discord Discussion URL in the body.

All PRs must reference a prior Discord discussion to ensure community alignment before implementation.

Please edit the PR description to include a link like:

Discord Discussion URL: https://discord.com/channels/...

This PR will be automatically closed in 3 days if the link is not added.

@thepagent thepagent merged commit 6d590ac into openabdev:main Apr 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

closing-soon PR missing Discord Discussion URL — will auto-close in 3 days

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants