{"id":28425238,"url":"https://github.com/metamask/github-tools","last_synced_at":"2026-01-08T13:17:39.250Z","repository":{"id":249177996,"uuid":"659381391","full_name":"MetaMask/github-tools","owner":"MetaMask","description":"An assortment of tools interacting with the GitHub API to get metrics for things like PR review comments/reviews","archived":false,"fork":false,"pushed_at":"2025-06-20T01:27:05.000Z","size":2271,"stargazers_count":5,"open_issues_count":4,"forks_count":3,"subscribers_count":57,"default_branch":"main","last_synced_at":"2025-06-20T02:28:46.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MetaMask.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":"metamask","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2023-06-27T17:56:28.000Z","updated_at":"2025-06-12T18:33:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d54d6e5-449a-4d0c-a924-c5028939018a","html_url":"https://github.com/MetaMask/github-tools","commit_stats":null,"previous_names":["metamask/github-tools"],"tags_count":1,"template":false,"template_full_name":"MetaMask/metamask-module-template","purl":"pkg:github/MetaMask/github-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Fgithub-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Fgithub-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Fgithub-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Fgithub-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MetaMask","download_url":"https://codeload.github.com/MetaMask/github-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Fgithub-tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261955760,"owners_count":23235943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-05T10:36:39.842Z","updated_at":"2026-01-08T13:17:39.193Z","avatar_url":"https://github.com/MetaMask.png","language":"TypeScript","readme":"# GitHub Tools\n\nA place for internal GitHub tools to exist and be used.\n\n## Usage\n\nThis repository holds a collection of scripts which are intended to be run locally:\n\n- `yarn get-review-metrics`: Gets the PR load of the extension platform team.\n- `yarn count-references-to-contributor-docs`: Counts the number of references to the `contributor-docs` repo in pull request comments.\n\n- `yarn run slack:release-testing`: Publishes a notification to slack for active releases regarding the release testing statuses.\n\n### Authentication\n\nSome scripts require a GitHub token in order to run fully.\n\nFor best results, create a [classic personal token](https://github.com/settings/tokens) and ensure that it has the following scopes:\n\n- `read:org`\n- `public_repo`\n\nTo use the token, you need to set the `GITHUB_AUTH_TOKEN` environment variable:\n\n```\nGITHUB_AUTH_TOKEN=\"\u003cyour GitHub token\u003e\" \u003ccommand\u003e\n```\n\nIt'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:\n\n```\nsecurity add-generic-password -a $USER -s 'GitHub auth token' -w \"\u003cyour GitHub token\u003e\"\n```\n\nNow you can use the token like this:\n\n```\nGITHUB_NPM_TOKEN=\"$(security find-generic-password a $USER -s 'GitHub auth token' -w)\" \u003ccommand\u003e\n```\n\n### Logging\n\nSome scripts print additional information that may be useful for debugging. To see it, set the `DEBUG` environment variable as follows:\n\n```\nDEBUG=\"metamask:*\" \u003ccommand\u003e\n```\n\n## Contributing\n\n### Setup\n\n- Install [Node.js](https://nodejs.org) version 20\n  - If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you.\n- Install [Yarn v3](https://yarnpkg.com/getting-started/install)\n- Run `yarn install` to install dependencies and run any required post-install scripts\n\n### Testing and Linting\n\nRun `yarn test` to run the tests once. To run tests on file changes, run `yarn test:watch`.\n\nRun `yarn lint` to run the linter, or run `yarn lint:fix` to run the linter and fix any automatically fixable issues.\n","funding_links":["https://opencollective.com/metamask"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetamask%2Fgithub-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetamask%2Fgithub-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetamask%2Fgithub-tools/lists"}