Rust: Don't run CI for draft PRs

Created on 16 Dec 2019  路  5Comments  路  Source: rust-lang/rust

I would like to propose that CI should not be run on PRs that are marked as "Drafts" using the Github "Drafts" feature.

Run CI wastes resources and produces lots of noisy messages from rust-highfive bot about failing CI.

T-infra

Most helpful comment

It should be possible to explicitly ask for them to run through CI, but it makes sense to not run CI on drafts by default.

All 5 comments

It should be possible to explicitly ask for them to run through CI, but it makes sense to not run CI on drafts by default.

It might be a bit heavy-weight, but I think we can already use bors try for that.

It looks like Travis, Azure, and Github don't have support for such a feature yet...

We discussed this in the infrastructure team meeting and decided not to go forward with this approach. You can see the context on the decision by reading the contents of the meeting.

Was this page helpful?
0 / 5 - 0 ratings