mergify
mergify copied to clipboard
Account used as bot_account must have write permission, not admin
Expected Behavior
Merge action should be able to use admin account as merge_bot_account.
Actual Behavior
Action errors with nathan-ahn account used as bot_account must have write permission, not admin (screenshot attached).
Rule Definition
- name: Auto squash
description: Handles squashing pull requests marked for squash
conditions:
- label = squash
- -draft
- -base = dev
- -base = staging
- -base = dogfooding
- -base = prod
actions:
merge:
method: merge
merge_bot_account: "{{author}}"
👋 This was due to limitations in the past, not sure if it's still the case. I'll open a ticket internally. to check