This compares the open PR requests that have ruleset changes to the Alexa top 1M sites, and adds labels corresponding to how they place within Alexa. Current labels are:
top-100
top-1k
top-10k
top-100k
top-1m
This will work for admins of HTTPS Everywhere that generate a GitHub token.
docker build -t labeller .
Download and install node
and npm
, then
npm install
cp config.json.example config.json
Enter your GitHub token info into config.json
.
Set your $GITHUB_TOKEN
with "repo, write:discussion" permissions, and run
docker run -it -e GITHUB_TOKEN=$GITHUB_TOKEN labeller
node index.js