{"id":19001111,"url":"https://github.com/wemake-services/kira-stale","last_synced_at":"2025-04-22T17:06:47.894Z","repository":{"id":48690951,"uuid":"176083648","full_name":"wemake-services/kira-stale","owner":"wemake-services","description":":chipmunk: Kira's micro-bot to fight with stale GitLab issues and merge requests","archived":false,"fork":false,"pushed_at":"2025-03-13T08:09:06.000Z","size":82,"stargazers_count":16,"open_issues_count":7,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T09:29:03.587Z","etag":null,"topics":["bot","gitlab","gitlab-bot","gitlab-ci","kira-bot","rsdp","wemake-services"],"latest_commit_sha":null,"homepage":"","language":"Procfile","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/wemake-services.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,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"wemake-services","custom":"https://boosty.to/sobolevn"}},"created_at":"2019-03-17T10:02:56.000Z","updated_at":"2025-04-09T10:13:59.000Z","dependencies_parsed_at":"2024-11-07T01:32:06.955Z","dependency_job_id":"064b7096-78f5-48f2-bd63-72e253aa62a2","html_url":"https://github.com/wemake-services/kira-stale","commit_stats":{"total_commits":66,"total_committers":4,"mean_commits":16.5,"dds":0.5303030303030303,"last_synced_commit":"c9e09e2e88c3a2f3751cc6b049c33354103a5348"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wemake-services%2Fkira-stale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wemake-services%2Fkira-stale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wemake-services%2Fkira-stale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wemake-services%2Fkira-stale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wemake-services","download_url":"https://codeload.github.com/wemake-services/kira-stale/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249995617,"owners_count":21357960,"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":["bot","gitlab","gitlab-bot","gitlab-ci","kira-bot","rsdp","wemake-services"],"created_at":"2024-11-08T18:09:53.950Z","updated_at":"2025-04-22T17:06:47.848Z","avatar_url":"https://github.com/wemake-services.png","language":"Procfile","funding_links":["https://github.com/sponsors/wemake-services","https://boosty.to/sobolevn"],"categories":[],"sub_categories":[],"readme":"# Kira Stale Bot\n\n[![wemake.services](https://img.shields.io/badge/%20-wemake.services-green.svg?label=%20\u0026logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC%2FxhBQAAAAFzUkdCAK7OHOkAAAAbUExURQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP%2F%2F%2F5TvxDIAAAAIdFJOUwAjRA8xXANAL%2Bv0SAAAADNJREFUGNNjYCAIOJjRBdBFWMkVQeGzcHAwksJnAPPZGOGAASzPzAEHEGVsLExQwE7YswCb7AFZSF3bbAAAAABJRU5ErkJggg%3D%3D)](https://wemake.services)\n[![kira-family](https://img.shields.io/badge/kira-family-pink.svg)](https://github.com/wemake-services/kira)\n[![Build Status](https://travis-ci.org/wemake-services/kira-stale.svg?branch=master)](https://travis-ci.org/wemake-services/kira-stale)\n[![Dependencies Status](https://img.shields.io/badge/dependencies-up%20to%20date-brightgreen.svg)](https://github.com/wemake-services/kira-stale/pulls?utf8=%E2%9C%93\u0026q=is%3Apr%20author%3Aapp%2Fdependabot)\n\nAutomate routine work with stale GitLab issues and merge requests.\n\nPart of the [`@kira`](https://github.com/wemake-services/kira) bots family.\n\n\n## Adding new actions\n\nPolicy:\n1. All actions must be idempotent: multiple runs – the same state\n2. All actions must make sense for all projects\n3. Dry run your script several times with `--dry-run` flag to make sure it works\n\n\n## Installation\n\nWe use `gitlab-triage` inside.\nSo, consult [their docs](https://gitlab.com/gitlab-org/gitlab-triage)\nabout deployment and usage.\n\nYou can even have a look at [GitLab's internal policies](https://gitlab.com/gitlab-org/quality/triage-ops/blob/master/policies).\n\nIt is possible to use this setup with `.gitlab-ci.yml` and Heroku.\n\n### Labels setup\n\nYou will need to create this set of labels:\n- `deadline:soft`\n- `deadline:hard`\n- `deadline:miss`\n- `validation:labels`\n- `validation:stale`\n- `validation:estimate`\n- `validation:invalid`\n- `notification:first`\n- `notification:last`\n\nYou can use [`kira-setup`](https://github.com/wemake-services/kira-setup) to create these labels for you.\n\n### Heroku setup\n\nTo setup a new Heroku server you will need to:\n1. Setup a [scheduler](https://elements.heroku.com/addons/scheduler)\n2. Setup all env vars with tokens and ids\n3. Enjoy!\n\nUse `worker` process type to run inside a scheduler every 10 minutes.\nMake sure to fill all env vars with the correct values.\n\n\n### GitLab CI setup\n\nYou can generate `.gitlab-ci.yml` file to run this script as scheduled events:\n1. Use `--init-ci` to generate default `.gitlab-ci.yml` file\n2. Enable [scheduled builds in CI](https://docs.gitlab.com/ee/user/project/pipelines/schedules.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwemake-services%2Fkira-stale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwemake-services%2Fkira-stale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwemake-services%2Fkira-stale/lists"}