martin
martin copied to clipboard
Configure Martin repo auto-merge rules
Currently, the main branch protection rules are:
- requires 1 approval
- requires status checks to pass (see below)
This is not flexible enough - we do not want to do a full CI rebuild if the pull request only modifies demo or docs. We currently exclude CI from building if it is only docs/demo/..., so we should somehow set up github to essentially "require all workflows that do trigger":
See also: stackoverflow question
https://github.com/maplibre/martin/blob/8bf3bd078de71aae5c5b18f94aac0b98c0315445/.github/workflows/ci.yml#L11-L17
Current settings
From stackoverflow, apparently there is really no good solution, so we should probably just use paths-filter or similar.