substrait-io / substrait-java

Apache License 2.0
72 stars 70 forks source link

ci: cancel in-progress build on PR update #265

Closed bestbeforetoday closed 1 month ago

bestbeforetoday commented 1 month ago

This change modifies the pull request build definition so that previous builds of a pull request are cancelled when a new change is pushed. This avoids redundant pull request builds continuing to run to completion and wasting build resources.

bestbeforetoday commented 1 month ago

You can see that a force-push to the PR branch cancelled an in-progress build of the previous PR state:

https://github.com/substrait-io/substrait-java/actions/runs/9305341696