{"id":15018157,"url":"https://github.com/googlemaps/js-github-policy-bot","last_synced_at":"2026-03-16T01:21:54.087Z","repository":{"id":37963012,"uuid":"486374247","full_name":"googlemaps/js-github-policy-bot","owner":"googlemaps","description":"Enforce polices for repositories in the googlemaps organization.","archived":false,"fork":false,"pushed_at":"2025-06-16T14:34:52.000Z","size":2293,"stargazers_count":4,"open_issues_count":7,"forks_count":3,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-06-21T05:05:19.554Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googlemaps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-27T22:52:06.000Z","updated_at":"2025-04-04T04:10:30.000Z","dependencies_parsed_at":"2024-11-14T17:08:22.381Z","dependency_job_id":"8cca37b0-8869-40f4-9882-a35f266f6471","html_url":"https://github.com/googlemaps/js-github-policy-bot","commit_stats":{"total_commits":463,"total_committers":4,"mean_commits":115.75,"dds":0.1166306695464363,"last_synced_commit":"3ee6ca28e908227916322ef046512115519ec10e"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/googlemaps/js-github-policy-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps%2Fjs-github-policy-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps%2Fjs-github-policy-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps%2Fjs-github-policy-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps%2Fjs-github-policy-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googlemaps","download_url":"https://codeload.github.com/googlemaps/js-github-policy-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps%2Fjs-github-policy-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267405282,"owners_count":24082142,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-09-24T19:51:34.435Z","updated_at":"2026-03-16T01:21:49.021Z","avatar_url":"https://github.com/googlemaps.png","language":"TypeScript","readme":"# Policy Bot for Google Maps Repositories\n\n[![npm](https://img.shields.io/npm/v/@googlemaps/github-policy-bot)](https://www.npmjs.com/package/@googlemaps/github-policy-bot)\n![Test](https://github.com/googlemaps/js-github-policy-bot/workflows/Test/badge.svg)\n![Release](https://github.com/googlemaps/js-github-policy-bot/workflows/Release/badge.svg)\n[![codecov](https://codecov.io/gh/googlemaps/js-github-policy-bot/branch/main/graph/badge.svg)](https://codecov.io/gh/googlemaps/js-github-policy-bot)\n![GitHub contributors](https://img.shields.io/github/contributors/googlemaps/js-github-policy-bot?color=green)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![Discord](https://img.shields.io/discord/676948200904589322?color=6A7EC2\u0026logo=discord\u0026logoColor=ffffff)](https://discord.gg/jRteCzP)\n\n## Description\n\nThis package provides a command line tool for enforcing policies on GitHub repositories and initializing files to meet the requirements of these policies.\n\n### `check`\n\n```sh\nnpx @googlemaps/github-policy-bot \\\n  check DIRECTORY_OF_PROJECT\n```\n\nThe tool performs checks beyond the minimal required for Google Open Source including specific files around GitHub processes, bots, and workflows.\n\n### `init`\n\n```sh\nnpx @googlemaps/github-policy-bot \\\n  init DIRECTORY_OF_PROJECT \\\n  --users GITHUB_USERNAME GITHUB_USERNAME2 \\ # for blunderbuss and CODEOWNERS\n  --team googlemaps/eng \\ # for CODEOWNERS\n  --repository js-github-policy-bot \\\n  --kind js \\ # should match prefix of repository\n  --no-overwrite\n```\n\nWhich will output the following:\n\n```\n- Writing file: README.md\n- Writing file: SECURITY.md\n- Writing file: .github/blunderbuss.yml\n- Writing file: .github/CODEOWNERS\n- Writing file: .github/workflows/codeql.yml\n- Writing file: .github/workflows/test.yml\n- Writing file: .github/workflows/release.yml\n```\n\nFor more information run:\n\n```sh\nnpx @googlemaps/github-policy-bot help init\n```\n\nIt is recommended to adjust the generated files before committing them to the repository. The templates for these files are defined at https://github.com/googlemaps/js-github-policy-bot/tree/main/src/init/templates.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglemaps%2Fjs-github-policy-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglemaps%2Fjs-github-policy-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglemaps%2Fjs-github-policy-bot/lists"}