This documentation only applies to v1 of YAML settings, to adopt the new settings (and all then new features with it) check out the new docs!

YAML settings configuration

To enable, simply place a .pullapprove.yml file in the root of your repo.

Be sure to check the settings page of your repo in https://pullapprove.com, it will tell you if there is an error in your .pullapprove.yml file.

Read details about each YAML setting on their respective pages, available in the menu on the left side of the page.

Example .pullapprove.yml

approve_by_comment: true
approve_regex: '^:\+1:'
reject_regex: '^No'
reject_value: -1
reset_on_push: true
author_approval: ignored
reviewers:
    -
        name: admins
        required: 2
        members:
            - a_user
            - anotheruser
        conditions:
            branches:
                - master  # only need to approve if merging to master
    -
        name: backend_devs
        required: 1
        members:
            - backender_one
    -
        name: designers
        required: 1
        members:
            - designerA
            - designerB
        conditions:
            labels:
                - design-review
            files:
                - "*.png"
                - "*.jpg"