Skip to content

docs: propose issue-assignment requirement for PRs#5386

Open
ocelotl wants to merge 2 commits into
open-telemetry:mainfrom
ocelotl:issue_5385
Open

docs: propose issue-assignment requirement for PRs#5386
ocelotl wants to merge 2 commits into
open-telemetry:mainfrom
ocelotl:issue_5385

Conversation

@ocelotl

@ocelotl ocelotl commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

This implements the process proposed in #5385:

  • Documents the issue/PR-assignment process in CONTRIBUTING.md (issues must reach consensus and be assigned before a PR referencing them is opened; draft PRs are welcome for illustrating a proposal while it's still being discussed).
  • Adds a require-assigned-issue workflow that automatically closes PRs which don't reference an issue (via closing keywords or manual linking) the author is assigned to. Draft PRs, dependabot[bot], and otelbot[bot] are exempt.

This is opened as a draft to give the community a chance to review the wording and the automation approach before it's enabled — please treat it as a discussion aid for #5385 rather than something ready to merge as-is.

Fixes #5385

Test plan

  • Community discussion/consensus on Proposal for a new process to submit PRs #5385 regarding the process itself
  • Review of the workflow logic (uses pull_request_target since fork PRs need write access to comment/close; does not check out PR code)
  • Manually verify the workflow against a couple of test PRs (with/without a linked+assigned issue, draft vs ready-for-review) before enabling for real

@ocelotl

ocelotl commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

Try out this github action here.

@ocelotl ocelotl marked this pull request as ready for review July 3, 2026 14:54
@ocelotl ocelotl requested a review from a team as a code owner July 3, 2026 14:54
ocelotl added 2 commits July 3, 2026 08:55
Requires every PR to reference an assigned issue, closing automatically
otherwise. Motivated by the growing volume of AI-generated PRs making
review unsustainable for the current pool of maintainers/approvers.
Closes PRs automatically that don't reference an issue via GitHub's
closing keywords/manual linking, or whose author isn't assigned to
that issue. Draft PRs and dependabot/otelbot are exempt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Proposal for a new process to submit PRs

1 participant