Skip to content

Automerge not occurring as expected #877

Description

@TheKevJames

Not sure if this is a bug or PEBCAK yet, but I would expect [this PR])(TheKevJames/challenges#128) to be automerged based on my config and the actions definition.

Relevant repo settings:

  • "Allow auto-merge" is enabled
  • "Allow squash merging" is enabled
  • Branch protection has "Require status checks to pass before merging" and "Require branches to be up to date before merging"

Expected workflow:

  1. pre-commit-ci[bot] opens the PR
  2. autoapproval triggers on the pull_request.opened trigger
  3. autoapproval approves the PR and adds the automerge label
  4. autoapproval triggers on the pull_request.labeled trigger
  5. autoapproval sees the automerge labels and does a squash merge once required tests pass

It seems like either step (4) or (5) is not triggering (seems to be (4) based on the Actions history). Am I doing something wrong here?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions