Skip to content

[Chore] Auto-close community PRs without a help wanted issue - #10335

Merged
weronikaolejniczak merged 6 commits into
elastic:mainfrom
weronikaolejniczak:community-contribution-autoclose
Nov 20, 2026
Merged

weronikaolejniczak merged 6 commits into
elastic:mainfrom
weronikaolejniczak:community-contribution-autoclose

Conversation

@weronikaolejniczak

@weronikaolejniczak weronikaolejniczak commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Community PRs (authors outside the Elastic org) are now closed automatically unless the description has Fixes/Closes/Resolves pointing at an open issue labelled help wanted. If the author edits the description of a closed PR to add the link, the bot reopens it, since they can't reopen it themselves.

Not closed: bot PRs and PRs a maintainer reopens.

The stale issue messages and contributing guide no longer invite PRs on issues without help wanted.

Context: Slack thread, #10314.

Co-authored-by: weronika.olejniczak <weronika.olejniczak@elastic.co>
Co-authored-by: weronika.olejniczak <weronika.olejniczak@elastic.co>
Co-authored-by: weronika.olejniczak <weronika.olejniczak@elastic.co>
@weronikaolejniczak weronikaolejniczak self-assigned this Nov 19, 2026
@weronikaolejniczak
weronikaolejniczak marked this pull request as ready for review November 19, 2026 11:23
@weronikaolejniczak
weronikaolejniczak requested a review from a team as a code owner November 19, 2026 11:23
@mgadewoll
mgadewoll self-requested a review November 19, 2026 11:27
weronikaolejniczak and others added 2 commits November 19, 2026 12:44
Read the current PR description, accept a colon after the closing keyword, treat missing issues as ineligible, stay safe when any issue lookup fails, and only reopen when the bot's latest comment is the auto-close comment.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: weronika.olejniczak <weronika.olejniczak@elastic.co>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: weronika.olejniczak <weronika.olejniczak@elastic.co>

@mgadewoll mgadewoll left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Small non-blocking suggestion, otherwise LGTM.

…eue pending runs

Co-authored-by: Cursor <cursoragent@cursor.com>
@weronikaolejniczak
weronikaolejniczak merged commit 282e681 into elastic:main Nov 20, 2026
9 checks passed
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.

2 participants