所以 - 我找到了一种方法来清除这个问题(在这个线程的一些帮助下:https://github.com/community/community/discussions/6874)
这是我使用的过程:
Done
选项卡select all
,然后单击move to inbox
Inbox
select all
,然后单击 mark as unread
select all xxx messages
Done
希望这可以清除幽灵“未读”消息!
如果您无法使用 UI,您可以使用 Github.com 文档中的 API。
# GitHub CLI api
# https://cli.github.com/manual/gh_api
gh api \
--method PUT \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/notifications \
-f "last_read_at=2022-06-10T00:00:00Z" -F "read=true"
对我来说,我使用了 github cli(首先进行 gh 身份验证登录),因为我不必手动处理令牌。