Skip to content

Instantly share code, notes, and snippets.

@tianhaoz95
Created October 9, 2020 22:09
Show Gist options
  • Select an option

  • Save tianhaoz95/d7fe511f5756eeb4211e942d99635242 to your computer and use it in GitHub Desktop.

Select an option

Save tianhaoz95/d7fe511f5756eeb4211e942d99635242 to your computer and use it in GitHub Desktop.
Example Mergify configuration that automatically merges experimental and Dependabot changes
pull_request_rules:
- name: auto merge experimental projects
conditions:
- -files~=^(!?playground/)
actions:
merge:
method: squash
- name: auto merge personal documentation
conditions:
- -files~=^(!?docs/personal/)
actions:
merge:
method: squash
- name: auto merge for dependabot
conditions:
- author~=^dependabot(|-preview)\[bot\]$
actions:
merge:
method: squash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment