pipeline_variables_minimum_override_role should not break the Trigger Pipeline API with CI_JOB_TOKEN
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
This is a specific version of `pipeline_variables_minimum_override_role` shou... (#557381 - closed)
As outlined in Configure CI/CD jobs to run in triggered pipelines, when using the $CI_JOB_TOKEN with the trigger pipeline API, the pipeline source is pipeline instead of trigger. In the solution for the issue above we only added an exception for trigger.
Proposal
Expand the exception to also apply to pipeline. Because we don't allow any variables via the exception (but only the TRIGGER_PAYLOAD variable specifically), this does not interfere with the intended functionality of blocking pipeline variables.
Edited by 🤖 GitLab Bot 🤖