A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/MetaMask/github-tools below:

MetaMask/github-tools: An assortment of tools interacting with the GitHub API to get metrics for things like PR review comments/reviews

A place for internal GitHub tools to exist and be used.

This repository holds a collection of scripts which are intended to be run locally:

Some scripts require a GitHub token in order to run fully.

For best results, create a classic personal token and ensure that it has the following scopes:

To use the token, you need to set the GITHUB_AUTH_TOKEN environment variable:

GITHUB_AUTH_TOKEN="<your GitHub token>" <command>

It's recommended to use your machine's local keychain to store the token and retrieve it from there. For example, under macOS, you can use the following command to store the token:

security add-generic-password -a $USER -s 'GitHub auth token' -w "<your GitHub token>"

Now you can use the token like this:

GITHUB_NPM_TOKEN="$(security find-generic-password a $USER -s 'GitHub auth token' -w)" <command>

Some scripts print additional information that may be useful for debugging. To see it, set the DEBUG environment variable as follows:

DEBUG="metamask:*" <command>

Run yarn test to run the tests once. To run tests on file changes, run yarn test:watch.

Run yarn lint to run the linter, or run yarn lint:fix to run the linter and fix any automatically fixable issues.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4