action-automerge icon indicating copy to clipboard operation
action-automerge copied to clipboard

Merge failing with no useful message

Open nanthony21 opened this issue 3 years ago • 4 comments

After pushing a very minor commit that definitely couldn't cause a merge conflict I am getting this as output:

[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
merge main into privateMain
merge branch:main to: privateMain
Error: main merge failed: 

This action has been working fine for me up until today, not sure what changed.

nanthony21 avatar Apr 16 '21 16:04 nanthony21

Indeed, this one would be very helpful :)

facundofarias avatar Nov 30 '22 07:11 facundofarias

Hi, I'm getting this message and I don't know how to solve this. If you can help me it would be great, Thank you <3

Run mtanzi/action-automerge@v1
[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
merge main into gh-pages
merge branch:main to: gh-pages
Error: main merge failed: Resource not accessible by integration

yechielb2000 avatar Jan 25 '23 22:01 yechielb2000

Yes merging is failing Run mtanzi/action-automerge@v1 [@octokit/rest] const Octokit = require("@octokit/rest") is deprecated. Use const { Octokit } = require("@octokit/rest") instead merge dev into main merge branch:dev to: main Error: dev merge failed: Resource not accessible by integration

Do we have any update on this front? Any leads is appreciated

kanumuruwe45 avatar Apr 13 '23 04:04 kanumuruwe45

Nothing wrong from the actions, you just need to update the organization or Repo action settings like as below then it will work fine Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

Under "Workflow permissions", choose GITHUB_TOKEN to have read and write access for all scopes.

kanumuruwe45 avatar Apr 13 '23 05:04 kanumuruwe45