How to pass on the branch name variable to execute that branch using Run pipeline option in gitlab cicd?

how to pass on the branch name variable to execute that branch using Run pipeline option in gitlab cicd.

I want to pass on the dynamic variable for my new branch name and execute that branch pipeline using run pipeline option.

Hey there,

I’m not sure if I understand you correctly, so please correct me if this is not what you need.

Normally, you can navigate on the left side CI/CD > Pipelines > Run pipeline button in the upper right corner:

After that, you have a UI where you can specify which branch you want to run the pipeline on and also what variables you want to pass in.

Kind regards!