Skip to content

Account used as bot_account must have write permission, not admin #5153

@nathan-ahn

Description

@nathan-ahn

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).

Image

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}}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions