Skip to content

whitemike889/mergify-engine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

mergify-engine

Mergify Status

This is the engine running behind Mergify, a GitHub automation service for your pull requests.

This is how it works:

  1. You write rules describing how to match a pull request, and which actions need to be executed.
  2. The engine executes the action as soon as a pull request matches the conditions.

For example:

pull_request_rules:
  - name: automatic merge when CI passes and 2 reviews
    conditions:
      - "#approved-reviews-by>=2"
      - status-success=Travis CI - Pull Request
      - base=main
    actions:
      merge:
        method: merge

That rule automatically merges a pull request targeting the main branch once it has 2 approving reviews and the CI passes.

You can learn more by browsing the engine documentation.

About

Engine for Mergify

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.1%
  • JavaScript 0.5%
  • Shell 0.2%
  • HTML 0.1%
  • Dockerfile 0.1%
  • CSS 0.0%