The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pull request approval in Test environment should be optional

Gita Danesh
April 3, 2023

Test environment is a place where the developer test his/her code so as a result, he may merge his code to test environment many times until he gets sure about his code, then he merges to UAT. Why in test environment, he needs another team member to approve his pull request? It is really time consuming and not required. I think approval in test environment should be optional.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 3, 2023

Hey @Gita Danesh 

Pull requests are meant to protect branches, not envs.

The way to make the approval optional in test envs is to decouple the PR from the envs. For example, you can decide that your test envs only gets artifacts from "Test_Branch" and "Test_Branch" is not protected by PR. Once all tests are pass in the test env, you can create a PR from your "Test_Branch" to the main branch.

Hope that helps.

TAGS
AUG Leaders

Atlassian Community Events