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

Mergify failed to merge the pull request: resource not accessible by integration #1996

Open
Nun-z opened this issue Feb 6, 2021 · 4 comments

Comments

@Nun-z
Copy link

Nun-z commented Feb 6, 2021

Mergify is failing to automatically merge pull requests.

Here is one of the pull requests in question: https://github.com/Nun-z/RetroArch/pull/40

@sileht
Copy link
Member

sileht commented Feb 6, 2021

It's because Mergify have not been allowed to commit to your repository. Maybe you have activated the Branch Protection and Mergify is not allowed to merge Pull Request. See: https://docs.mergify.io/faq.html#mergify-is-unable-to-merge-my-pull-request-due-to-my-branch-protection-settings

@Nun-z
Copy link
Author

Nun-z commented Feb 6, 2021

I have not activated branch protection for this repository.

Screenshot_20210206-011644_Samsung Internet

@sileht
Copy link
Member

sileht commented Feb 6, 2021

GitHub doesn't give us more information about which setting blocks Mergify to merge this PR. Mergify call pull request merge API on your behalf and this is forbidden by GitHub. Usually, this is due to a change in .github/workflows or a miss-configured Branch Protection, or Mergify just uninstalled. I don't known other setting that triggers this restriction.

Does Allow merge commits is enabled in your repository settings?

@Nun-z
Copy link
Author

Nun-z commented Feb 7, 2021

Allow merge commits is enabled. Is it relevant that this is a public fork of a public repository? None of the other solutions I've tried have worked due to that fact. Only read access is given for the other things I've tried.

Edit: note that I am trying to merge pull requests from the repositories I have forked.

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

No branches or pull requests

2 participants