Add possibility to access merge request description and title in gitlab ci
Problem to solve
You can provide logic based on your merge request description and title and validate things based on differentthings.
Intended users
Software Developers, DevOps, ...
Further details
You can do some logic on the description or atleast validate descriptions
Proposal
Add new environment variables for getting the Merge Request Title and Description in the ci. If its not a merge request CI the env is empty like for the merge request iid which is also only available in some cases.
Permissions and Security
No more permissions needed
Documentation
Add to the documentaiton about available environment variables in the gitlab ci.
Testing
Testing like how it is tested that you get the merge request iid and id.
What does success look like, and how can we measure that?
On success its possible to read the title and descrption environment variable in a gitlab ci script without calling the api.