martin icon indicating copy to clipboard operation
martin copied to clipboard

Configure Martin repo auto-merge rules

Open nyurik opened this issue 2 years ago • 1 comments

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

image

nyurik avatar May 30 '23 01:05 nyurik

From stackoverflow, apparently there is really no good solution, so we should probably just use paths-filter or similar.

nyurik avatar May 30 '23 18:05 nyurik