Add Labels to GitHub Notifications

Use API calls to get the labels of all issues and pull requests from the notification list.

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
DenverCoder1
1日のインストール数
0
累計インストール数
6
評価
0 0 0
バージョン
1.0.3
作成日
2023/08/03
更新日
2023/08/06
大きさ
7.11KB
ライセンス
MIT
対象サイト

Add Labels to GitHub Notifications

screenshot

Get more GitHub API requests and enable private repos

The unauthenticated GitHub API is limited to 60 requests per hour, to increase this, you can provide a token to be used.

To get a personal access token go to https://github.com/settings/tokens/new and give the token a name.

To enable private repos, you will need to enable the repos scope for the token.

Open the developer console with F12 or Ctrl+Shift+J and run the following command, substituting YOUR_TOKEN_HERE with your token starting with ghp_.

localStorage.setItem("gh_token", "YOUR_TOKEN_HERE");

Manually clear cache

Labels are fetched again every 6 hours. To manually clear the cached labels, run the following in the developer console:

localStorage.setItem("labels", "{}");