Enable CI/CD pipeline triggers from merge request comments to support GitHub Actions-like workflows
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem
GitLab currently cannot trigger pipelines from MR comments, unlike GitHub which supports issue_comment events. This prevents creating tools like claude-code-action for GitLab.
Proposal
Add support for comment-triggered pipelines:
deploy:
rules:
- if: '$CI_PIPELINE_SOURCE == "comment" && $CI_COMMENT_TEXT =~ /@claude/'
script:
- echo "Triggered by comment"
Use case
Bot integrations (like claude-code-action)
Without this feature, GitLab users must rely on external webhooks, making the platform less competitive with GitHub Actions.
Edited by 🤖 GitLab Bot 🤖