SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

244272 0 0 JavaScript

Do not notify Discord for draft pull requests (#33446)

When I added the `ready_for_review` event in #32344, no notifications
for opened draft PRs were sent due to some other condition. This is not
the case anymore, so we need to exclude draft PRs from triggering a
notification when the workflow is run because of an `opened` event. This
event is still needed because the `ready_for_review` event only fires
when an existing draft PR is converted to a non-draft state. It does not
trigger for pull requests that are opened directly as ready-for-review.
H
Hendrik Liebau committed
43714eb4e970d0200fdc5eac887691df7fae53d5
Parent: a5110b2
Committed by GitHub <[email protected]> on 6/5/2025, 7:08:57 PM