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

Passing repository-changed error up(branch="renovate/actions-checkout-2.x") #6890

Closed
yurake opened this issue Jul 30, 2020 · 7 comments
Closed
Assignees
Labels
manager:github-actions Github actions manager priority-2-high Bugs impacting wide number of users or very important features

Comments

@yurake
Copy link

yurake commented Jul 30, 2020

What Renovate type are you using?

  • hosted App
  • GitHub

Describe the bug

Cannot push new branch for merge, response was git-receive-pack (1157 bytes) error.

Relevant debug logs

DEBUG: 2 file(s) to commit(branch="renovate/actions-checkout-2.x")
DEBUG: Committing files to branch renovate/actions-checkout-2.x(branch="renovate/actions-checkout-2.x")
DEBUG: Error commiting files(branch="renovate/actions-checkout-2.x")
{
  "err": {
    "task": {
      "commands": [
        "push",
        "origin",
        "renovate/actions-checkout-2.x:renovate/actions-checkout-2.x",
        "--force",
        "-u",
        "--no-verify",
        "--verbose",
        "--porcelain"
      ],
      "concatStdErr": true,
      "format": "utf-8"
    },
    "message": "Pushing to https://**redacted**@github.com/yurake/test-github-actions.git\nPOST git-receive-pack (1157 bytes)\nerror: failed to push some refs to 'https://**redacted**@github.com/yurake/test-github-actions.git'\n",
    "stack": "Error: Pushing to https://**redacted**@github.com/yurake/test-github-actions.git\nPOST git-receive-pack (1157 bytes)\nerror: failed to push some refs to 'https://**redacted**@github.com/yurake/test-github-actions.git'\n\n    at GitExecutorChain.onFatalException (/home/ubuntu/renovateapp/node_modules/simple-git/src/lib/runners/git-executor-chain.js:60:87)\n    at GitExecutorChain. (/home/ubuntu/renovateapp/node_modules/simple-git/src/lib/runners/git-executor-chain.js:51:28)\n    at Generator.throw ()\n    at rejected (/home/ubuntu/renovateapp/node_modules/simple-git/src/lib/runners/git-executor-chain.js:6:65)\n    at runMicrotasks ()\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)"
  }
}
DEBUG: Passing repository-changed error up(branch="renovate/actions-checkout-2.x")
INFO: Repository has changed during renovation - aborting

More Details:
https://app.renovatebot.com/dashboard#github/yurake/test-github-actions/209856338

@rarkins
Copy link
Collaborator

rarkins commented Jul 30, 2020

How long ago did you install the Renovate app?

GitHub put security restrictions in place preventing apps from pushing to Actions workflows but told me recently it should work now. However you need to have granted the permissions to Renovate to update workflows.

@yurake
Copy link
Author

yurake commented Jul 31, 2020

Thank you @rarkins. Installed a month ago.

However you need to have granted the permissions to Renovate to update workflows.

Would you tell me some instruction for granted? I was tried to #846, but still the problem exists.

@rarkins
Copy link
Collaborator

rarkins commented Jul 31, 2020

If you installed a month ago then there should be no permissions problem. Most likely answer is that there's still a restriction at GitHub's side. Can you reproduce this in a public repo to share?

@yurake
Copy link
Author

yurake commented Jul 31, 2020

Here is a test repo.
https://github.com/yurake/test-github-actions

@rarkins
Copy link
Collaborator

rarkins commented Jul 31, 2020

Can you simplify to a minimal reproduction? i.e. one actions dependency so one update and one branch? I prefer not to overwhelm GitHub with a complicated repo if I need to raise this fault with them.

@yurake
Copy link
Author

yurake commented Jul 31, 2020

I created simple one, this would be correct you want?
https://github.com/yurake/test-renovate

And renovate outcome debug logs
https://app.renovatebot.com/dashboard#github/yurake/test-renovate/210097288
or
debug log.txt

@yurake
Copy link
Author

yurake commented Jul 31, 2020

I think this issue is same as #5733.

@rarkins rarkins added reproduced: yes priority-2-high Bugs impacting wide number of users or very important features labels Aug 5, 2020
@rarkins rarkins self-assigned this Aug 5, 2020
@rarkins rarkins added the manager:github-actions Github actions manager label Aug 5, 2020
@rarkins rarkins added the status:requirements Full requirements are not yet known, so implementation should not be started label Jan 12, 2021
@rarkins rarkins closed this as completed Mar 8, 2021
@viceice viceice removed the status:requirements Full requirements are not yet known, so implementation should not be started label Mar 8, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
manager:github-actions Github actions manager priority-2-high Bugs impacting wide number of users or very important features
Projects
None yet
Development

No branches or pull requests

3 participants