Unremovable "Ghost" Notification in Inbox #177296
Replies: 14 comments 11 replies
|
see on another device and close ur session btw |
|
Go to Settings → Notifications Click on your profile picture in the top-right corner and select Settings. In the left sidebar, click on Notifications. Click "Check" or "Sync" to force a synchronization On the Notifications settings page, look for a button that says "Check" or "Sync" near the top. Clicking this will force GitHub to re-sync your notification count with the server, which should clear any ghost notifications. |
|
or clean ur cookies and try on incognito |
|
For anyone else facing this, running the following JavaScript snippet in the browser's developer console on the notifications page immediately clears the ghost notification. Just remember to type |
|
Go to Settings → Notifications Click on your profile picture in the top-right corner and select Settings. In the left sidebar, click on Notifications. Click "Check" or "Sync" to force a synchronization On the Notifications settings page, look for a button that says "Check" or "Sync" near the top. Clicking this will force GitHub to re-sync your notification count with the server, which should clear any ghost notifications. |
|
Also had ghost notifications from these (not existing) repos. The script solution worked. Maybe it was some "spam attack" |
|
For me it was gitcoini/gitcoincom that had the undeletable notification: |
|
Same issue here! |
|
Someone mentioned me in a private repo that I have no access to and I see this problem too.
It started a month or so ago and is now getting quite annoying as it tickles the notification/inbox dot so I permanently have unread messages I am unable to action on. @babelllll has not provided a fix, this needs to be resolved at GitHub's end as it is leaking information about repos I cannot access into my notifications inbox. |
|
Please refer to this link to eliminate the annoying points. |
|
Use this direct API call while logged in: https://api.github.com/notifications with a Personal Access Token to mark all as read. |
|
I had the ghost notification from paradigm repos, and I found this gh api /notifications?all=true --paginate | jq -r '.[] | select(.repository.full_name == "<owner>/<repo>") | .id' | while read thread_id; do
gh api -X DELETE "/notifications/threads/${thread_id}/subscription"
gh api -X DELETE "/notifications/threads/${thread_id}"
done |
|
👋 I'm excited to share that we just shipped a major improvement to how notifications from spammy repositories and users are handled. They're now correctly hidden so you won't see inaccurate counts anymore. You can check out more details in our changelog (https://github.blog/changelog/2025-12-04-notifications-triggered-by-spam-accounts-are-now-correctly-hidden/). Let me know if you have any other questions or are still experiencing any issues! |





For anyone else facing this, running the following JavaScript snippet in the browser's developer console on the notifications page immediately clears the ghost notification.
Just remember to type
allow pastingin the console first to enable pasting the code.