{"id":25229933,"url":"https://github.com/xmoelletschi/renoglaab","last_synced_at":"2026-03-10T23:27:38.315Z","repository":{"id":280315646,"uuid":"935633335","full_name":"xMoelletschi/renoglaab","owner":"xMoelletschi","description":"Renovate GitLab auto-approve Bot","archived":false,"fork":false,"pushed_at":"2025-03-16T15:56:02.000Z","size":70,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T16:36:43.847Z","etag":null,"topics":["gitlab","golang","renovate","renovate-approve-bot"],"latest_commit_sha":null,"homepage":"","language":"Go","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/xMoelletschi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2025-02-19T19:02:14.000Z","updated_at":"2025-03-16T15:56:00.000Z","dependencies_parsed_at":"2025-03-02T18:23:13.423Z","dependency_job_id":"e0d51f3f-0076-4374-bed4-e9c4130f0861","html_url":"https://github.com/xMoelletschi/renoglaab","commit_stats":null,"previous_names":["xmoelletschi/renoglaab"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xMoelletschi%2Frenoglaab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xMoelletschi%2Frenoglaab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xMoelletschi%2Frenoglaab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xMoelletschi%2Frenoglaab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xMoelletschi","download_url":"https://codeload.github.com/xMoelletschi/renoglaab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353680,"owners_count":20925325,"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":["gitlab","golang","renovate","renovate-approve-bot"],"created_at":"2025-02-11T11:37:37.896Z","updated_at":"2026-01-16T09:55:59.086Z","avatar_url":"https://github.com/xMoelletschi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# renoglaab\n\n`renoglaab` is a Go application designed to run in a GitLab CI job and automatically merge Renovate merge requests based on predefined conditions.\n\n## Features\n\n- Configurable filtering by author, labels, branch regex, and pipeline status.\n- Adds comments to merge requests upon approval.\n- Automatically approves Renovate merge requests.\n\n## Prerequisites\n\n- Renovate configured to create MRs.\n- GitLab Personal Access Token (PAT) or Group Access Token with `api` scope.\n\n## Configuration\n\nModify environment variables to configure merging behavior:\n\n| Variable                              | Description                                      | Default                           | Options                           |\n|---------------------------------------|--------------------------------------------------|-----------------------------------|-----------------------------------|\n| `EXTRACT_FROM_FILE`                   | Read repositories from file                      | `false`                           | `true`, `false`                   |\n| `CONFIG_PATH`                         | Path to the configuration file                   | `$CI_PROJECT_DIR/config.js`       | Any valid file path               |\n| `LOG_LEVEL`                           | Logging level (`debug`, `info`, `warn`, `error`) | `info`                            | `debug`, `info`, `warn`, `error`  |\n| `GITLAB_API_TOKEN`                    | GitLab API token (required)                      |                                   | Any valid token                   |\n| `GITLAB_URL`                          | GitLab instance URL                              | `https://gitlab.com`              | Any valid URL                     |\n| `FILTER_BY_AUTHOR_USERNAME`           | Filter MRs by author username                    | `true`                            | `true`, `false`                   |\n| `AUTHOR_USERNAME`                     | Author username to filter MRs                    | `renovate-bot`                    | Any valid username                |\n| `FILTER_BY_LABELS`                    | Filter MRs by labels                             | `true`                            | `true`, `false`                   |\n| `LABELS`                              | Labels to filter MRs                             | `renovate`                        | Any valid label                   |\n| `FILTER_BY_BRANCH`                    | Filter MRs by branch regex                       | `true`                            | `true`, `false`                   |\n| `ALLOWED_BRANCH_REGEX`                | Regex for allowed branches                       | `renovate/automerge`              | Any valid regex                   |\n| `FILTER_BY_SUCCEEDED_PIPELINE`        | Filter MRs by succeeded pipeline                 | `true`                            | `true`, `false`                   |\n| `FILTER_BY_PIPELINE_WITHOUT_WARNINGS` | Filter MRs by pipeline without warnings          | `true`                            | `true`, `false`                   |\n| `ADD_COMMENT`                         | Add a comment to the MR                          | `true`                            | `true`, `false`                   |\n| `COMMENT`                             | Comment to add to the MR                         | `Approving merge request! :ship:` | Any valid comment                 |\n| `APPROVE`                             | Approval command                                 | `/approve`                        | Any valid command                 |\n\n## Usage\n\nAdd the following job to your `.gitlab-ci.yml`:\n```yml\nrenoglaab:\n  image: ghcr.io/xmoelletschi/renoglaab:latest\n  script:\n    - /renoglaab\n```\nTo run this job in a scheduled pipeline, add a schedule to your GitLab project under **CI / CD \u003e Schedules**.\n\nBy default, `renoglaab` reads the directories from the `RENOVATE_EXTRA_FLAGS` variable. If you are using a `config.js` file to define where Renovate should run, then please set `EXTRACT_FROM_FILE` to `true`.\n\n## Examples\n\nFor a real-world example, visit the [renoglaab GitLab group](https://gitlab.com/renoglaab). [currently in WIP]\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## Support\n\nFor support or questions, open a discussion on the [GitHub repository](https://github.com/xMoelletschi/renoglaab/discussions).\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmoelletschi%2Frenoglaab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxmoelletschi%2Frenoglaab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmoelletschi%2Frenoglaab/lists"}