It is now possible to configure pipelines to be triggered only on pushes to non-draft Pull Requests.
Who Can Use This?
This functionality is available to all customers that use GitHub.
If your organization is currently integrated with GitHub only through OAuth, an admin must take the one-time action of installing the CircleCI GitHub App to enable this functionality.
Getting Started
- Go to your project’s Project Settings > Pipelines, and ensure you have a “GitHub App” pipeline defined
- Go to Project Settings > Triggers, and define a GitHub App trigger
- In the “run on” menu, select “Pushes to open non-draft PRs”
- Trigger your GitHub App pipeline by pushing to a non-draft PR
For more details on newly supported GitHub trigger events and example use cases, check out our documentation. For any questions or feedback, email benedetta@circleci.com.