Error: refusing to allow a GitHub App to create or update workflow #108402
Unanswered
Bullrich
asked this question in
API and Webhooks
Replies: 2 comments 1 reply
-
I'm facing the same issue. @Bullrich did you find any possible solution? 😢 |
Beta Was this translation helpful? Give feedback.
1 reply
-
hello any solution for this issue? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Bug
Body
This task is similar to #35410 but its reproduction environment is not related to GitHub actions but to GitHub's api
Problem
A GitHub app fails to call the endpoint Update a pull request branch (
/repos/{owner}/{repo}/pulls/{pull_number}/update-branch
) if the PR has the following conditions:.github/workflows
If the PR has these two conditions, and a GitHub app calls the Update a pull request branch method for that PR number, it will fail with the following error:
The GitHub app has the following permissions:
Steps to reproduce:
main
andstaging
).main
.main
.main
staging
..github/workflows/
main
main
modify the target/main branchIs there any way to overcame this issue? This is problematic as we are trying to keep all the PRs that are ready to merge up to date (and, because of some other reasons we can't use merge queues yet).
Any suggestions/ideas?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions