Cannot clear notification from "gitcoin-dev/gitcoin.com" #174310
Select Topic AreaBug BodyThe user, repo behind the spam seems to be deleted, however the resulting notification cannot be cleared or marked as read |
Replies: 37 comments 53 replies
|
ðŽ Your Product Feedback Has Been Submitted ð Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward âĐ
Where to look to see what's shipping ð
What you can do in the meantime ðŧ
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. â |
|
It should be cleared now. Both issue created by the bot and the repo are gone. |
|
I'm having the same issue with a notification from |
|
Mine is It's very annoying. |
|
I couldn't find any way to remove this notification. This is incredibly bad experience. |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
@KSXGitHub your solution worked! For anyone wanting to use this:
curl -L \
-X PUT \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/notifications \
-d '{"last_read_at": null,"read":true}' |
|
Simple clear for notifications if you have curl -L \
-X PUT \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $(gh auth token)" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/notifications \
-d '{"last_read_at": null,"read":true}' |
|
Also having this issue. Is there a way to prevent unknown repos from adding you and then @ you in their comments? |
|
It should not be marked as answered, it should be resolved by github. https://github.com/orgs/community/discussions/174246#discussioncomment-14480778
|
|
This will clear out all notification threads, including those stuck in the Repositories section. |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Similar to above but using a GitHub Action Workflow, create a GitHub Token (via GitHub -> Developer Settings -> Token Classic -> Notifications (read/write)), then go under any of your project, add name: Clear notifications (bash)
on:
workflow_dispatch: # run manually from the Actions UI
jobs:
clear:
runs-on: ubuntu-latest
steps:
- name: Mark all notifications as read
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
curl -X PUT \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GH_TOKEN" \
https://api.github.com/notifications |
|
https://github.com/orgs/community/discussions/174283#discussioncomment-14527039 you can use this uvx fown auth loginuvx fown noti delete -r |
|
can't believe this is known for over a year and there's no fix from github....can it be raised as a bug they should fix somehow? |
|
Re-open this issue, it is not fixed! I'm not creating a token just to fix githubs bug. |
|
no way to fix this without installing github's CLI? |
|
Hey @blacksmithop, I recently ran into the same issue â leftover notification from a deleted repo ðĪ Hereâs another way to manually remove the stuck notification using the GitHub CLI: # List all notifications and locate the thread ID
gh api /notifications
# Once you have the thread ID, run this to remove it
gh api --method DELETE /notifications/threads/THREAD_IDð You might need to scroll through the list if you have a lot of notifications, but once you get the correct
If this helped, feel free to check out my GitHub: hetdabhi and drop a follow for more useful tips ð |
|
This issue is definitely not "answered" - Github needs to fix this themselves, I shouldn't need to use the API manually to fix this. |
|
ME TOO |
|
UP, fix that shit! |
|
I guess this won't be fixed any time soon. GH is forced to move to azure, and that's their no. 1 priority for the next 12 months, according to their CTO. On azure, it can only get better /sarcasm |
|
Found an easier solution. Android users, download diohub from play store, login, go to notifications, tap on the stuck notification. That's it. It will now be cleared! |
|
Did this get fixed? I suddenly don't have any unread notifications. |









@ardaguclu thank you! A slightly easier delete command: