Create Your .gitconsensus.yaml File

Basic Info
Pull Requests
# Uses Version 3 of the .gitconsensus.yaml file format.
version: 3

# Add extra labels for the vote counts and age when merging.
# This can create a lot of extra labels.
extra_labels: false

# Remove votes from users who vote more than once.
prevent_doubles: true

pull_requests:

  # Minimum number of votes before a Pull Request will be merged.
  quorum: 3

  # Required percentage of 'yes' votes (ignoring abstentions) before a
  # Pull Request will be merged.
  threshold: 74

  # The number of hours after the Pull Request was opened or commited to
  # before the Pull Request can be closed
  merge_delay: 12

  # Number of votes at which the merge_delay gets ignored, assuming no
  # negative votes.
  # This is useful for rapidly deploying fixes into production.
  delay_override: 6

  # The number of hours after the Pull Request was opened or commited to
  # which the Pull Request will be closed if it has not passed.
  timeout: 168

  # Whether to restrict changes to the license via GitConsensus.
  license_lock: true

  # Whether to restrict changes to the consensus rules via GitConsensus.
  consensus_lock: false

  # The number of hours before a Pull Request that changes the consensus
  # rules can be merged.
  consensus_delay: 96

  # Whether to restrict votes to only previous contributors or not.
  # This does not limit who can make a PR.
  contributors_only: false

  # Whether to restrict votes only to preapproved Github collaborators.
  # This does not limit who can make a PR.
  collaborators_only: false