If the user dont have merge privilege, the pipeline not suppose doing auto deploy
furthermore, the admin must rerun the deployment step to make sure
the deployment vs merged to master, and
version in master vs production is more controllable
How to detect in pipeline, whether the pull-request triggering pipeline is auto merge ?
Hi @xicond,
Thank you for reaching out to the community.
Based on my understanding, you'd like to restrict users from deploying through Pipelines.
If that's correct, you can leverage and set up the Pipelines Deployments feature where you can restrict the ability to deploy to admins, or to specific branches.
You can check this link for more information: Set up and monitor deployments
Do let me know if you have further questions.
Regards,
Mark C
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.