Expose both pipeline_ref and source_ref for pipelines webhook events
Context
Closes #487920
What does this MR do and why?
Adds source_ref
and pipeline
to a pipeline resource. Keeps the ref
attribute as-is for backwards-compatibility purposes.
Credits to @godfat-gitlab for the suggestion.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by David Dieulivol