{"id":14064888,"url":"https://github.com/pydantic/hooky","last_synced_at":"2025-04-12T10:33:19.342Z","repository":{"id":58868269,"uuid":"523357668","full_name":"pydantic/hooky","owner":"pydantic","description":"Productivity tools for popular open source repos, used by pydantic","archived":false,"fork":false,"pushed_at":"2023-09-25T10:38:31.000Z","size":135,"stargazers_count":55,"open_issues_count":9,"forks_count":9,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-08-14T07:08:01.616Z","etag":null,"topics":["code-review","pull-requests","pydantic","review"],"latest_commit_sha":null,"homepage":"https://github.com/apps/pydantic-hooky","language":"Python","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/pydantic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"samuelcolvin"}},"created_at":"2022-08-10T13:36:58.000Z","updated_at":"2024-08-14T07:08:01.617Z","dependencies_parsed_at":"2023-02-08T19:16:08.766Z","dependency_job_id":"3d192c48-7241-44c0-8344-a99a46516db4","html_url":"https://github.com/pydantic/hooky","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pydantic%2Fhooky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pydantic%2Fhooky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pydantic%2Fhooky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pydantic%2Fhooky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pydantic","download_url":"https://codeload.github.com/pydantic/hooky/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223510500,"owners_count":17157363,"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":["code-review","pull-requests","pydantic","review"],"created_at":"2024-08-13T07:04:09.480Z","updated_at":"2024-11-07T12:18:47.026Z","avatar_url":"https://github.com/pydantic.png","language":"Python","funding_links":["https://github.com/sponsors/samuelcolvin"],"categories":["Python"],"sub_categories":[],"readme":"# Hooky\n\n[![CI](https://github.com/pydantic/hooky/workflows/CI/badge.svg?event=push)](https://github.com/pydantic/hooky/actions?query=event%3Apush+branch%3Amain+workflow%3ACI)\n[![Coverage](https://codecov.io/gh/pydantic/hooky/branch/main/graph/badge.svg)](https://codecov.io/gh/pydantic/hooky)\n[![license](https://img.shields.io/github/license/pydantic/hooky.svg)](https://github.com/pydantic/hooky/blob/main/LICENSE)\n\nReceive and respond to GitHub webhooks, built for use with [pydantic](https://github.com/pydantic/pydantic).\n\n## Label and Assign\n\nThis tool responds to magic phrases in pull request comments:\n\n* **\"please update\"** - requests an update from the PR author,\n  the PR author is assigned and the \"awaiting author revision\" label is added\n* **\"please review\"** - requests a review from project reviewers,\n  the reviewers are assigned and the \"ready for review\" label is added\n\n## Change File Checks\n\nThis tool checks pull requests to enforce a \"change file\" has been added.\n\nSee [here](https://github.com/pydantic/pydantic/tree/master/changes#pending-changes) for details on the format expected.\n\nTo skip this check the magic phrase **\"skip change file check\"** can be added to the pull request body.\n\nOtherwise, the following checks are performed on the pull request:\n* A change file matching `changes/\u003cID\u003e-\u003cauthor\u003e.md` has been added\n* The author in the change file matches the PR author\n* The ID in the change file either matches the PR ID or that issue is marked as closed in the PR body\n\n## Configuration\n\nHooky is configured via a TOML file in the root of the repository.\n\nEither `.hooky.toml` (takes priority) or `pyproject.toml` can be used, either way the configuration should be under the `[tool.hooky]` table.\n\nThe following configuration options are available, here they're filled with the default values:\n\n```toml\n[tool.hooky]\nreviewers = []  # see below for details on behaviour\nrequest_update_trigger = 'please update'\nrequest_review_trigger = 'please review'\nawaiting_update_label = 'awaiting author revision'\nawaiting_review_label = 'ready for review'\nno_change_file = 'skip change file check'\nrequire_change_file = true\n```\n\n**Note:** if `reviewers` is empty (the default), all repo collaborators are collected from [`/repos/{owner}/{repo}/collaborators`](https://docs.github.com/en/rest/collaborators/collaborators).\n\n### Example configuration\n\nFor example to configure one reviewer and change the \"No change file required\" magic sentence, the following configuration could be used:\n\n```toml\nreviewers = ['octocat']\nno_change_file = 'no change file required'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpydantic%2Fhooky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpydantic%2Fhooky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpydantic%2Fhooky/lists"}