unisonweb / unison

A friendly programming language from the future
https://unison-lang.org
Other
5.64k stars 267 forks source link

drop branch filter for CI runs #5113

Closed aryairani closed 1 week ago

aryairani commented 1 week ago

We had previously tried to avoid what we saw as duplicate runs of CI on each PR commit. We didn't realize (or didn't document) that the two runs represent the actual branch (on: push) vs a hypothetical merge (on: pull_request).

Only running on: pull_request however, meant that CI would not run unless the branch could cleanly merge with trunk, which is not a great requirement for running CI.

With this change, we can try out running on both. It will mean we have a lot of checks, and it will mean that we maybe need to adjust .mergify.yml to be sure that it doesn't auto-merge a PR that can't merge. (Well, I suppose it wouldn't do that; but we don't want it to try, and fail, either.)