Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Martin repo auto-merge rules #689

Open
nyurik opened this issue May 30, 2023 · 1 comment
Open

Configure Martin repo auto-merge rules #689

nyurik opened this issue May 30, 2023 · 1 comment

Comments

@nyurik
Copy link
Member

nyurik commented May 30, 2023

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

pull_request:
branches: [main, v0.6]
paths-ignore:
- '**.md'
- 'demo/**'
- 'docs/**'
- 'homebrew-formula/**'

Current settings

image

@nyurik
Copy link
Member Author

nyurik commented May 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant