Enable users to trigger CI/CD pipeline on Gitlab events
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
I want to be able to trigger a CI/CD pipeline on events such comments on an issue, references to issue, epic creation. Currently, this requires developers to deploy webhooks (running a separate server to be able parse events).
See also:
gitlab-org/ruby/gems/gitlab-triage#102
Proposal
Gitlab pipeline expands the pipeline sources to support other types of events.
Comparison - Github Action event triggers
Example:
job:
script: echo "New comment!"
rules:
- if: $CI_PIPELINE_SOURCE == "issue_comment"
Intended users
- Developers looking to automate issue handling. This includes for example trigger AI automations based on new comments.
Feature Usage Metrics
- The amount of unique jobs scheduled using Gitlab events.
Does this feature require an audit event?
No, triggers are not individual person related events.
Edited by 🤖 GitLab Bot 🤖