Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automerge not occurring as expected #877

Open
TheKevJames opened this issue Sep 5, 2023 · 0 comments
Open

Automerge not occurring as expected #877

TheKevJames opened this issue Sep 5, 2023 · 0 comments

Comments

@TheKevJames
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant