[reg-notify-github-plugin] Support PR created by forked repository
See original GitHub issueIs your feature request related to a problem? Please describe.
It would be happy when reg-notify-github-plugin
supports to comment PR which created by a forked repository
Describe the solution you’d like
I haven’t any idea to solve it but https://github.com/reg-viz/gh-app/tree/master/packages/backend seems related to
Describe alternatives you’ve considered
Additional context
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Forking a GitHub Repository and Using Pull Requests
Forking creates a copy of a repository which you can work on. You can then submit a pull request to have your changes...
Read more >How do I update or sync a forked repository on GitHub?
If you click Rebase and merge , all commits will be made "with" you, the original PRs will link to your PR, and...
Read more >Fork a GitHub Repository & Submit a Pull Request - Jake Jarvis
Walkthrough of forking a GitHub repository, cloning it, committing your changes to a new branch, and pushing it back upstream.
Read more >Fork GitHub projects | IntelliJ IDEA Documentation - JetBrains
Clone this fork to create a local repository. ... created your fork. Create a pull request to suggest your changes to the original...
Read more >GitHub Forks and Pull Requests | Step by Step - YouTube
We'll cover making a GitHub fork, we'll make changes to the forked repository, and finally create and complete a pull request to merge...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @kogai and sorry for my late reply.
Please tell me your usecase. Which is the followings or other?
If you want (A), it may be our plugin issue, the real implementation is in reg-gh-app as you said. If you want (B), you should install https://github.com/apps/reg-suit to not orijinal repo but your forked repo because of GitHub Apps permission spec.
For now, reg suit GitHub app uses the following query to detect PR to comment ( This GitHub app accepts owner, repo name, branch name of HEAD ):
https://github.com/reg-viz/gh-app/blob/master/packages/backend/src/gql/update-pr-comment-context.graphql
But this query can’t look for forked repository because
ref(qualifiedName: $branchName)
does not make sense .And I think we’ll fix this issue by query such as: