Updating PRs from apply fails for renovate pull requests #1541
-
QuestionWhen merging a PR updating some of the open PRs fails with the following errors:
All those PRs are from renovate bot that we also run as a GitHub action with it's own app. We have seen the same issue with PRs that were created by Dependabot. The app that tfaction uses has the following permissions: ✅ Read access to actions, members, and metadata Has someone seen this before? It seems that one app does not have permissions to update PRs from other apps. Background of the questionNo response Example CodeNo response NoteNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hmm.
Or are your renovate pull request branches protected by branch protection rules? |
Beta Was this translation helpful? Give feedback.
Oh, maybe I misunderstood.
You try to update branches using a GitHub token issued by a GitHub App, and the token should have the permission
pull_requests: write
andcontents: write
, right?Could you share the code like this?