-
Notifications
You must be signed in to change notification settings - Fork 10
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
Permissions on the fork causes PR to end up as "Failure" #380
Comments
Though you can create a PR, it fails through the action, and it was maintained for security purposes so that only contributors from the team list can maintain the documentation or make changes. However, suggestions are accepted from all the users, and modifications should be made accordingly. So, with this issue, we will want to look into how to prevent the merge for PR created with forks? |
I'm not sure I understand what you mean here. You don't need github actions to manage permissions, e.g. who has right to commit or merge something on main, you do that through the repository settings (collaborators, branch protection rules, ...)
unless I'm misunderstanding what you mean here, in github it's impossible for outside users with a fork to merge their fork/branch/PR into the main repository anyway, so what are you trying to prevent here? |
I am sorry for not being clear, I was trying to understand myself, what do we want to achieve from this issue? |
Ahh, I am sorry, in that case, it's a lack of understanding, as I only knew that we don't allow merging PR from a forked repository in this repo. |
Apologies if the original issue wasn't clear. It meant to ask: does a github user with the role "Write" on eu-cdse/documentation, able to fork, make changes (to for example API.md) and finally merge without Failures? Background: To sum, I reckon, if we can replicate forking and merging with a new user that has the "Write" role, we'll find the answer to this issue. |
a test to show that even if you have write rights to this repo, if you create a PR from your own repo instead of a branch it will not pass through the github action: |
Therefore based on internal discussion, the issue we want to resolve with this PR is to figure out the cause of the test failure. And implement a solution to enable user to create PR's even from the forked repo. |
Creating a fork of the original repo and then creating a PR based on that fork fails the tests and end up as "Failure": it causes an error in the build process possibly due to permissions on the fork.
On the other hand, regardless of the "Failure", it's possible to merge it successfully (PR 357 was an example).
The text was updated successfully, but these errors were encountered: