{"id":16478535,"url":"https://github.com/batazor/gitlab-bot","last_synced_at":"2026-06-09T03:06:47.161Z","repository":{"id":142527132,"uuid":"198905707","full_name":"batazor/gitlab-bot","owner":"batazor","description":null,"archived":false,"fork":false,"pushed_at":"2019-07-25T22:41:33.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T20:38:19.346Z","etag":null,"topics":["agile","automation","gitlab","project-management","workflow"],"latest_commit_sha":null,"homepage":null,"language":null,"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/batazor.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":"2019-07-25T21:52:06.000Z","updated_at":"2019-08-20T11:59:07.000Z","dependencies_parsed_at":"2023-04-10T22:37:44.800Z","dependency_job_id":null,"html_url":"https://github.com/batazor/gitlab-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/batazor/gitlab-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batazor%2Fgitlab-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batazor%2Fgitlab-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batazor%2Fgitlab-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batazor%2Fgitlab-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/batazor","download_url":"https://codeload.github.com/batazor/gitlab-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batazor%2Fgitlab-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34089403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":["agile","automation","gitlab","project-management","workflow"],"created_at":"2024-10-11T12:49:36.218Z","updated_at":"2026-06-09T03:06:47.126Z","avatar_url":"https://github.com/batazor.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitlab-bot\n\nAutomation of routine operations in GitLab (issue \u0026\u0026 MR lifecycle)\n\n### How add to my project?\n\n**1. Add this proejct as git submodule**\n\n```\ngit submodule add git@\u003cURL\u003e/gitlab-bot.git ops/policy\n```\n\n**2. Add ENV variables**\n\n`GITLAB_HOST_URL` - GitLab address `https://gitlab.com`  \n`GITLAB_API_TOKEN` - token for GitLab API  \n`PATH_TO_POLICY` - path to policy into your project (default: `/ops/policy`)  \n`TYPE_SOURCE` - `project` or `groups` (default: `groups`)\n\n**3. Include gitlab-bot-template to `.gitlab-ci.yml`**\n\n\u003e docs: https://docs.gitlab.com/ee/ci/yaml/#include\n\n**.gitlab-ci.yaml**\n```yaml\n# include template\ninclude:\n  - project: '\u003cgroupName\u003e/gitlab-bot'\n    ref: master\n    file: '/templates/issue.yml'\n\n# Add stage\nstages:\n  - triage\n```\n\n**4. Add jobs to schedule for project**\n\n\u003e docs: https://docs.gitlab.com/ee/user/project/pipelines/schedules.html\n\nAdd variables:\n- `RUN_DAILY: true` - for everyday `gitlab-bot (every day)`\n- `RUN_WEEKS: true` - for weeks `gitlab-bot (every week)`\n- `RUN_MONTH: true` - for month `gitlab-bot (every month)`\n\n**5. Add labels to project/group**\n\n+ `needs attention` - bot add this a label to issue for *attention*\n\n### Update\n\n```\ngit submodule sync --recursive\ngit submodule update --init --recursive\ngit submodule foreach git pull origin master\n```\n\n\n### Run in dev mode\n\n```\ndocker run -it -v \"$(pwd)\":/src ruby:2.4-alpine sh\n\u003e gem install gitlab-triage --no-doc\n\u003e gitlab-triage -H $GITLAB_HOST_URL -f $GITLAB_TRIAGE_FILE --source groups --token $GITLAB_API_TOKEN --source-id $CI_PROJECT_ID\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatazor%2Fgitlab-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbatazor%2Fgitlab-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatazor%2Fgitlab-bot/lists"}