PolicyBot

Enforce approval and disapproval policies on pull requests

Install

Getting Started

  1. Install lattice-policy-bot on your repository
  2. Add a .policy.yml file on the default branch (docs):
    policy:
      approval:
        - one approval from palantir
    
    approval_rules:
      - name: one approval from palantir
        requires:
          count: 1
          organizations: ["palantir"]
  3. Open a pull request and watch the status change based on the policy!

Learn More