{"id":22242360,"url":"https://github.com/manzanit0/monocrat","last_synced_at":"2026-05-02T09:33:41.726Z","repository":{"id":161564301,"uuid":"636252575","full_name":"manzanit0/monocrat","owner":"manzanit0","description":"GitHub App to work with custom deployment rules","archived":false,"fork":false,"pushed_at":"2024-05-17T08:06:43.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T09:41:51.598Z","etag":null,"topics":["deployment","gha","github"],"latest_commit_sha":null,"homepage":"","language":"Go","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/manzanit0.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}},"created_at":"2023-05-04T12:43:43.000Z","updated_at":"2024-05-17T08:06:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4da3716-a00f-4a10-a87f-1ff3de470d61","html_url":"https://github.com/manzanit0/monocrat","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/manzanit0%2Fmonocrat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manzanit0%2Fmonocrat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manzanit0%2Fmonocrat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manzanit0%2Fmonocrat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manzanit0","download_url":"https://codeload.github.com/manzanit0/monocrat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245449382,"owners_count":20617185,"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":["deployment","gha","github"],"created_at":"2024-12-03T04:15:55.742Z","updated_at":"2026-05-02T09:33:41.675Z","avatar_url":"https://github.com/manzanit0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monocrat\n\nMonocrat is a collection of GitHub application prototypes for different purposes. Currently there are two available:\n\n- ci-check: Showcases how to use the Checks API to run linters and build docker images.\n- deployment-protection-rule: Showcases how to extend the GitHub Deployments feature with [custom protection\n  rules](https://docs.github.com/en/actions/deployment/protecting-deployments/creating-custom-deployment-protection-rules)\n\n## Resources\n\n- https://docs.github.com/en/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app\n- https://trstringer.com/github-app-authentication/\n- https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment_protection_rule\n- https://docs.github.com/en/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run\n- https://github.com/google/go-github/issues/2774\n\n## Hacking\n\nTo build the image of a service:\n\n```sh\ndocker build -t monocrat:latest --build-arg SERVICE_PATH=./cmd/deployment-protection-rule .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanzanit0%2Fmonocrat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanzanit0%2Fmonocrat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanzanit0%2Fmonocrat/lists"}