ci: auto-close draft PRs with policy message (#1765)

- Add close-draft-prs.yml workflow that auto-closes draft PRs with
  explanatory comment directing contributors to submit completed PRs
- Update CONTRIBUTING.md with "No draft PRs" policy
- Update default PR template with draft PR warning

Closes #1762

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-04-05 11:11:16 -04:00
committed by GitHub
parent 6bd786bf88
commit 17c65424ad
3 changed files with 54 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ For **features**: the linked issue must have the `approved-feature` label before
PRs that arrive without a labeled, approved issue are closed without review.
> **No draft PRs.** Draft PRs are automatically closed. Only open a PR when your code is complete, tests pass, and the correct template is used. See [CONTRIBUTING.md](../CONTRIBUTING.md).
See [CONTRIBUTING.md](../CONTRIBUTING.md) for the full process.
---