mlabs-haskell / seabug-contracts

3 stars 1 forks source link

Update workflow to not run build for draft PRs #40

Closed rynoV closed 2 years ago

rynoV commented 2 years ago

Updates CI to not run the build while a PR is still a draft, then run the build normally when and after it becomes ready for review.

To test, I made this PR a draft and the build was skipped, and when I made it ready for review, the build was started

t4ccer commented 2 years ago

Why do we want it?

t4ccer commented 2 years ago

BTW, we need to move this repo to hydra

rynoV commented 2 years ago

@t4ccer the current configuration discourages from pushing work frequently because the build runs on every push (which isn't entirely free, and is also unnecessary while the PR is in draft)

samuelWilliams99 commented 2 years ago

This is fine by me, we'll be moving to hydra anyway so not an issue