autoapproval icon indicating copy to clipboard operation
autoapproval copied to clipboard

Automerge not occurring as expected

Open TheKevJames opened this issue 2 years ago • 0 comments

Not sure if this is a bug or PEBCAK yet, but I would expect [this PR])(https://github.com/TheKevJames/challenges/pull/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?

TheKevJames avatar Sep 05 '23 11:09 TheKevJames