summaryrefslogtreecommitdiff
path: root/.github/mergify.yml
blob: 9f5e1fdd567dbd5217575bf76e228713cc7746b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
pull_request_rules:
  - name: Label conflicting pull requests
    description: Add a label to a pull request with conflict to spot it easily
    conditions:
      - conflict
      - '-closed'
    actions:
      label:
        toggle:
          - conflicts

commands_restrictions:
  backport: &allowed
    conditions:
      - or:
          - sender=@vyos/maintainers
          - sender=vyosbot
  copy: *allowed
  dequeue: *allowed
  queue: *allowed
  rebase: *allowed
  refresh: *allowed
  requeue: *allowed
  squash: *allowed
  update: *allowed
merge_protections_settings:
  reporting_method: check-runs