-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Improve Github repository scan to include remote dangling commits
#2494
Comments
Related to #1918? |
remote dangling commits
and closed pull-requests
remote dangling commits
I didn't think it was possible to access dangling commits from GitHub (e.g., GitHub retains "removed" commits but if you run |
yes, Github does not have an API to list
long-running jobs, I agree, but worth it to unearth some juicy secrets :) |
Hello @rgmz 👋 ! I have an example here (https://github.com/MickaelFontes/dangling-finder/blob/2e5c6e94cd5c4835a5e775c51715d45a57f0c5c2/dangling_finder/listing.py#L49-L78) to query for dangling commits created by a force push in a pull request. That's at least one straightforward way to find some dangling commits, since we can't directly ask for a list of all dangling commits. There must be some other effective ways to find other dangling commits, but I'm still looking for them 😅 |
Please review the Community Note before submitting
Description
Sometimes we also have some dangling commits on branches (merged or not) and these dangling commits contain sensitive information.
Preferred Solution
We want to
Additional Context
References
The text was updated successfully, but these errors were encountered: