Add ref_name with a human readable value (like CI_COMMIT_REF_NAME) for Webhook JSON payload
Hello,
The webhook push only these kind of value :
"ref":"refs/tags/v3.3.4"
for tags
and
"ref":"refs/heads/main"
for branches
Example: https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html#push-events
It is not easy to use, and it adds an extra parsing for the receiver of the webhook
It would be great to have a new field "ref_name" to have a value like CI_COMMIT_REF_NAME in CI/CD
like :
"ref_name": "v3.3.4"
for tags
"ref_name": "main"
for branches
Edited by Laurent Chartrain