Learning center

Can AI review rules run on draft pull requests?

They can when automatic review includes drafts. First decide when the author needs feedback. A rule about an expensive design mistake can help on the first draft, while repeated comments on unfinished copy can wait.

Separate the trigger from the instruction#

For Copilot automatic review, GitHub documents options for reviewing draft pull requests and new pushes. A path rule describes what to inspect once a review runs. Editing its file pattern alone cannot make the reviewer start on a draft.

Open a small draft that matches an existing rule. Record whether a review starts on opening, after a push, and when the author marks it ready. Check the reviewed commit at each point. This distinguishes “no review ran” from “a review ran and left no finding.” GitHub’s automatic review options

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading