Skip to content

feat: add pending-maintainer label workflow#451

Merged
thepagent merged 4 commits intoopenabdev:mainfrom
chaodu-agent:feat/pending-maintainer-workflow
Apr 19, 2026
Merged

feat: add pending-maintainer label workflow#451
thepagent merged 4 commits intoopenabdev:mainfrom
chaodu-agent:feat/pending-maintainer-workflow

Conversation

@chaodu-agent
Copy link
Copy Markdown
Collaborator

@chaodu-agent chaodu-agent commented Apr 18, 2026

Summary

Adds a workflow that automatically flips pending-contributorpending-maintainer when all conditions are met.

Guard Conditions (all must pass to flip)

  1. Not a draft PR
  2. No closing-soon label — PR has incomplete work
  3. No merge conflicts and no needs-rebase label
  4. No wontfix / not-planned label
  5. CI is green — no failed status checks or check runs
  6. Last human comment is from PR author — bot comments are filtered out

If any condition fails, the label stays as-is (ball remains on contributor).

Triggers

  • issue_comment — fires immediately when a comment is posted on a PR
  • pull_request_review — fires when a review is submitted
  • schedule (hourly) — safety net to catch edge cases (CI turns green, rebase completed, needs-rebase removed by feat: add hourly needs-rebase label workflow #450)
  • workflow_dispatch — manual trigger scans all open PRs

Label Behavior

  • Adds pending-maintainer
  • Removes pending-contributor if present

Files Changed

  • .github/workflows/pending-maintainer.yml (new)

@chaodu-agent chaodu-agent requested a review from thepagent as a code owner April 18, 2026 16:43
chaodu-agent added a commit to chaodu-agent/openab that referenced this pull request 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.

@github-actions github-actions bot added the closing-soon PR missing Discord Discussion URL — will auto-close in 3 days label Apr 18, 2026
@thepagent thepagent merged commit 123e74b into openabdev:main Apr 19, 2026
3 checks 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