Based on: https://gist.github.com/cdlhub/02f59220d842b5a32d282f58bd502c11
Which was based on: https://gist.github.com/Isaddo/7efebcb673a0957b9c6f07cd14826ea4
- Go on your labels page
https://github.com/user/repo/labels
- Paste this script in your console.
- Press Enter.