{"id":13748893,"url":"https://github.com/patrickhulce/git3po","last_synced_at":"2025-03-16T10:31:55.674Z","repository":{"id":23342922,"uuid":"98755248","full_name":"patrickhulce/git3po","owner":"patrickhulce","description":"Automatically comments, labels, and closes GitHub issues according to a configurable set of filters.","archived":false,"fork":false,"pushed_at":"2023-03-15T08:42:40.000Z","size":3066,"stargazers_count":37,"open_issues_count":16,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-19T00:51:07.032Z","etag":null,"topics":["comment-bot","github-bot","github-issues"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patrickhulce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-07-29T19:45:58.000Z","updated_at":"2024-07-24T15:01:59.000Z","dependencies_parsed_at":"2024-01-17T13:12:21.991Z","dependency_job_id":"7293e961-c56e-4d96-b8bb-09b46da3274d","html_url":"https://github.com/patrickhulce/git3po","commit_stats":{"total_commits":78,"total_committers":6,"mean_commits":13.0,"dds":0.2435897435897436,"last_synced_commit":"1a9e12ee71b3941cb0070fb1ea50ec1d70503776"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhulce%2Fgit3po","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhulce%2Fgit3po/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhulce%2Fgit3po/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhulce%2Fgit3po/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickhulce","download_url":"https://codeload.github.com/patrickhulce/git3po/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814898,"owners_count":20352037,"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":["comment-bot","github-bot","github-issues"],"created_at":"2024-08-03T07:00:51.672Z","updated_at":"2025-03-16T10:31:55.358Z","avatar_url":"https://github.com/patrickhulce.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# git3po\n[![NPM Package](https://badge.fury.io/js/git3po.svg)](https://www.npmjs.com/package/git3po)\n[![Build Status](https://travis-ci.org/patrickhulce/git3po.svg?branch=master)](https://travis-ci.org/patrickhulce/git3po)\n[![Coverage Status](https://coveralls.io/repos/github/patrickhulce/git3po/badge.svg?branch=master)](https://coveralls.io/github/patrickhulce/git3po?branch=master)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n[![Dependencies](https://david-dm.org/patrickhulce/git3po.svg)](https://david-dm.org/patrickhulce/git3po)\n\nAutomatically comments, labels, and closes GitHub issues and pull requests according to a configurable set of filters.\n\n## Usage\n\n### Install\n\n`npm install -g git3po`\n\n### Configure\n\n```yaml\ntoken: \u003csecret\u003e  # alternatively set via the `GIT3PO_GH_TOKEN` env variable.\nrepo: patrickhulce/git3po\nstartAt: 2017-07-01\nfilters:\n  - type: issue\n    criteria:\n      state: open # open issues\n      text:\n        $match: test phrase # with title or body containing 'test phrase'\n      author:\n        $not:\n          $in: [janesmith, johndoe] # whose author is not janesmith or johndoe\nactions:\n  - type: add_comment\n    body: \u003e\n      Hello from the bots\n\n      I'm an awesome multi-line comment\n  - type: add_label\n    label: duplicate\n  - type: close\n```\n\nSee also\n\n* [`examples/unable-to-load-page.yaml`](./examples/unable-to-load-page.yaml)\n* [`examples/apply-waiting4reviewer.yaml`](./examples/apply-waiting4reviewer.yaml)\n* [Many real scripts used by Lighthouse](https://github.com/GoogleChrome/lighthouse/tree/master/lighthouse-core/scripts/git3po-rules)\n\n### Use\n\n```sh\ngit3po -c config.yaml\n💎  Found #1 (test phrase), processing...\n     Applying add comment...             ⏳\n     Applying add label...               ⏳\n     Applying close...                   ⏳\n✅  Done with #1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickhulce%2Fgit3po","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickhulce%2Fgit3po","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickhulce%2Fgit3po/lists"}