question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Find open PRs on your forks

See original GitHub issue

Issuehunt badges

Usually forks are only useful to send PRs. When your open PRs are merged, they should be deleted.

Finding out whether your fork is still needed takes too long (open source repo, go to PRs, look for your PRs).

Refined GitHub should mention your open PRs in:

  • your forked repo’s header (perhaps even adding a tab next to the original “Pull requests (0)” tab)
  • In the “Delete repo” lightbox (“you have x PRs open” or “no PRs are open, you can delete it”)

Ideally this should check whether there are any branches ahead of source like https://github.com/denis-sokolov/remove-github-forks does, but checking for PRs alone would make this feature a good companion to that CLI tool.


IssueHunt Summary

loilo loilo has been rewarded.

Backers (Total: $5.00)

Submitted pull Requests


Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
loilocommented, Mar 10, 2020

Wow, I did not find anything about this via search, so I just typed out a whole issue to suggest this feature… but I guess GitHub’s “similar issues” feature got the better of me. 😁

I’m not familiar with the v4 API, but I found a very easy v3 request to get the according PRs using the /search/issues endpoint (example for my fork of mautic/mautic):

https://api.github.com/search/issues?q=repo:mautic/mautic+is:pr+is:open+author:loilo


I’d be happy to implement this. The visualization in the header could be like this:

Head area of the loilo/mautic repo with the secondary headline stating "forked from mautic/mautic with 1 open PR" with the "1 open PR" part as a link

What do you think?

0reactions
issuehunt-app[bot]commented, Mar 31, 2020

@sindresorhus has rewarded $4.50 to @loilo. See it on IssueHunt

  • 💰 Total deposit: $5.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $0.50
Read more comments on GitHub >

github_iconTop Results From Across the Web

Find open PRs on your forks · Issue #2268 - GitHub
When your open PRs are merged, they should be deleted. Finding out whether your fork is still needed takes too long (open source...
Read more >
pull | Keep your forks up-to-date via automated PRs
a GitHub App built with probot that keeps your forks up-to-date with upstream via automated pull requests. Trusted by Repository Count repositories, ...
Read more >
Where can I see my pull requests on GitHub? - Stack Overflow
On the main homepage (not your userpage) there is a bar at the top with four buttons: News Feed Pull Requests Issues Stars....
Read more >
IssueHunt on Twitter: "【sindresorhus / refined-github】 Find open ...
【sindresorhus / refined-github】 Find open PRs on your forks Fund:$5.00. issuehunt.io. IssueHunt - A bounty platform for open source projects.
Read more >
About pull requests and permissions - Azure Repos
PRs can come from branches within the same repository or from branches in forks of the repository. Teams use PRs to review code...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found