
3/13/2025 · GitLab
What this post added
Introduced the `gitlab-triage` gem, a Ruby library for automating Agile workflows. This gem allows users to create bots that can label, comment on, assign, close, and create issues and merge requests based on configurable policies defined in a `.triage-policies.yml` file. The post details installation, API token acquisition, policy definition with examples (draft labeling, old issue commenting), and integration with GitLab CI/CD using pipeline schedules. Advanced features like Ruby scripting for custom conditions and actions are also demonstrated with real-world examples from the Developer Advocacy team, including finding issues assigned to team members outside their project and automatically setting due dates. Best practices for using the gem are also provided.