If you have any questions, feedback, or issues please let us know via GitHub Issues or by using Intercom on pullapprove.com.

YAML templates


A pro plan is required to use this feature on private repos.

Templates are a great way to keep the key preferences for your organization in one location, and easily extend them on a per-repo basis.

Templates are created and managed on pullapprove.com. You can find edit them at pullapprove.com/YOUR_ORG or by clicking your organization name when browsing repos on pullapprove.com.

Example usage:

YAML template named "client-projects"

version: 2
groups:
  code-review:
    required: 1
    users:
      - userone
      - usertwo

Then for each repo, you simply create a .pullapprove.yml which `extends` one of your templates. Any settings in this file will then override the defaults provided by the template. Dictionary-like objects will be merged.

Repo .pullapprove.yml

version: 2
extends: client-projects
groups:
  security-review:  # add another group
    required: 1
    users:
      - userthree
  code-review:
    required: 2  # change the required approvals on code-review