Detect Auto Merge in Pipeline

xicond July 29, 2022

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 ?

1 answer

1 accepted

0 votes
Answer accepted
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 13, 2022

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events