Github stuck at "Attempting to auto-merge" but never fails or succeeds

I have a github pull request that seems to never auto-merge, even though there are no errors. It’s been sitting in this stage for at least 30 minutes and counting. Here’s a screenshot:

Is this because of my workflow and how the auto-merge action works? This doesn’t seem to make any sense so that might be a silly question.

Not even sure what to ask to get help with troubleshooting other than mentioning the issue.

Any help would be greatly appreciated.

Same issue here. It worked for weeks and then suddenly stopped working since Friday 7th of January

I opened a ticket with GitHub and they said they’re looking into this. Apparently this issue only exists when a bot enables auto-merge. So as a temporary workaround, I’ve updated my GitHub auto-merge action to use my GitHub Personal Access Token (PAT) to enable auto-merge instead. Here’s what my step looks like now:

      - name: Enable Auto Merge
        uses: peter-evans/enable-pull-request-automerge@v1
          token: ${{ secrets.GH_PAT }}
          pull-request-number: ${{ github.event.pull_request.number }}
          merge-method: merge

This GH action uses the GITHUB_TOKEN by default, so specifying the token option overrides it.

Hope this helps!

I basically pasted the example from the manual (see Enable auto-merge on a pull request), but Dependabot’s PRs are stuck at the “Attempting to auto-merge…” state, although all branch protection rules are met (all green checkmarks). @altjx did you get any update on your bug report?

I have also just encountered this, and have opened a case with GitHub Support.