-
Notifications
You must be signed in to change notification settings - Fork 9
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
Create Pull Request from Forked Repo #27
Comments
This helps reduce the risk to the target repository if the token is leaked: it does not need permission to write. |
I definitely agree with you! |
After some further investigation, I think that this feature would make sense only for those users that actually run the tool as CLI, i.e., providing their own Whereas, in GitHub action context, the action is always run using the repository |
Except when a PAT with proper permissions is provided with
The key here is that the PAT has no write access to the destination repository, only to the repository from which the pull request will be made, which is better from a security perspective. |
That's interesting, thanks for sharing this 🙏 |
Give the possibility to open the backporting pull request from the forked repository, obviously in this case we assume the provided token has proper permissions on the forked repository.
Steps need:
<fork-owner>:<branch-name>
The text was updated successfully, but these errors were encountered: