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
| #!/bin/sh | |
| # Mark all notifications as read, including "ghost" notifications. | |
| # Works on Linux, requires a "classic" auth token be present in `~/.github-oauthtoken` | |
| # and also that `gh` is installed. You could presumably use `gh auth login` instead | |
| # if you want to authenticate that way. | |
| # | |
| # Works for me, use at your own risk. | |
| # | |
| # https://github.com/orgs/community/discussions/6874 | |
| # https://docs.github.com/en/rest/activity/notifications?apiVersion=2022-11-28#mark-notifications-as-read |
OlderNewer