enable-pull-request-automerge icon indicating copy to clipboard operation
enable-pull-request-automerge copied to clipboard

Failing to auto-merge pull request to separate repository

Open billsioros opened this issue 1 year ago • 2 comments

If I understand correctly I'm covering all the conditions specified here, but I might me wrong cause I'm quite a noob 😋. Would you mind having a look?

Run peter-evans/enable-pull-request-automerge@v2
Fetching pull request ID
Enabling auto-merge on pull request ID PR_kwDOF66_ps45hpts
Error: Request failed due to following response errors:
 - ["Pull request Pull request is closed"]

Corresponding run: https://github.com/billsioros/cookiecutter-pypackage/actions/runs/5068669630

billsioros avatar May 24 '23 12:05 billsioros

Hi @billsioros

It looks correct but the error message suggests that the pull request was closed when it tried to enable automerge. Doesn't seems like that was the case, though, so it's a bit confusing.

Please can you try the latest version of this action, v3, just to see if the error message is more helpful. The new version uses the GitHub CLI.

peter-evans avatar May 25 '23 06:05 peter-evans

Hello @peter-evans 👋🏽

I tried again after upgrading to v3 and again the action fails. The corresponding run can be found here

Thanks!

billsioros avatar May 25 '23 16:05 billsioros