Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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 comment

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 Leaders.
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.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events