Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use travis-conditions to give users flexibility for draft PRs? #27

Open
MaxThevenet opened this issue Apr 2, 2020 · 3 comments
Open

Comments

@MaxThevenet
Copy link

There has been some discussion in the TravisCI community as to how GitHub draft pull requests are handled. In my understanding, if a TravisCI build is requested for all open PRs to a given branch, draft PRs are treated as regular PRs for TravisCI and a TravisCI build will be launched.

For some project, it could be a useful feature to disable TravisCI builds for draft PRs in order to take a weight off of TravisCI jobs.

Could travis-conditions give enough flexibility to let the user decide on the behavior for draft PRs? For instance, adding a new option draft_pull_request for type (currently available are push, pull_request, api, cron)?

Thanks!!

@MaxThevenet MaxThevenet changed the title Use travis-condition to give users flexibility for draft PRs? Use travis-conditions to give users flexibility for draft PRs? Apr 2, 2020
@erwanp
Copy link

erwanp commented Jul 31, 2022

Good feature, any update?

@wischli
Copy link

wischli commented May 25, 2023

Good feature, any update?

Push 🌚

@vkamenskyi
Copy link

It would be really helpful to have this feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants