AI / RenovateBot Interview Questions
How does Renovate support GitLab and what differences exist compared to GitHub?
Renovate has first-class GitLab support. The core functionality is identical — differences are in configuration keys, token requirements, and MR (merge request) vs PR terminology.
// config.js â GitLab self-hosted module.exports = { platform: "gitlab", endpoint: "https://gitlab.com/api/v4/", token: process.env.RENOVATE_TOKEN, repositories: ["mygroup/myrepo"], }
# .gitlab-ci.yml renovate: image: renovate/renovate:latest variables: RENOVATE_TOKEN: $RENOVATE_TOKEN LOG_LEVEL: info script: - renovate rules: - if: $CI_PIPELINE_SOURCE == "schedule"
| Feature | GitHub | GitLab |
|---|---|---|
| Terminology | Pull Request (PR) | Merge Request (MR) |
| Token type | PAT or GitHub App token | Personal Access Token or Project token |
| Pipeline trigger | GitHub Actions / cron | GitLab CI schedules |
| Self-hosted config | platform: github | platform: gitlab |
More Related questions...