Last active
November 3, 2025 01:50
-
-
Save dieseltravis/b717276d20dc25ce677c6308c6d48151 to your computer and use it in GitHub Desktop.
github ghost notification fix from https://github.com/orgs/community/discussions/6874
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -X PUT \ | |
| -H "Accept: application/vnd.github.v3+json" \ | |
| -H "Authorization: token $TOKEN" \ | |
| https://api.github.com/notifications \ | |
| -d '{"last_read_at":"2025-08-31T00:00:00Z"}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gh api /notifications -X GET | jq -r '.[].id' | xargs -I {} gh api /notifications/threads/{} -X PATCH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment