peter-evans / enable-pull-request-automerge

A GitHub action to enable auto-merge on a pull request
MIT License
108 stars 21 forks source link

Failing to auto-merge pull request to separate repository #1060

Open billsioros opened 1 year ago

billsioros commented 1 year ago

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

peter-evans commented 1 year ago

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.

billsioros commented 1 year ago

Hello @peter-evans 👋🏽

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

Thanks!