gopidesupavan commented on issue #10:
URL: https://github.com/apache/airflow-publish/issues/10#issuecomment-2558082638

   Got understand of code base to update asf yml. i am thinking of this yml 
structure WDYT? :) 
   
   ```
     environments:
       test-pypi:
         required_reviewers:
           - reviewer1
           - reviewer2
         prevent_self_review: true
         wait_timer: 1
         deployment_branch_policy:
           protected_branches: true
           custom_branch_policies: false
   
       pypi:
         required_reviewers:
           - reviewer1
           - reviewer2
         prevent_self_review: true
         wait_timer: 1
         deployment_branch_policy:
           protected_branches: false
           custom_branch_policies: true
         policies:
           - name: main
             type: branch
           - name: 1.0.0
             type: tag
           - name: "release/*/*"
   ```
   
   Policies is required to create only when choose `custom_branch_policies` so 
basically , each deployment environment can have multiple custom policies or 
choose `protected_branches`
   
   not sure which root element is better `environments:` or 
`deployment_environments: ` :) ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to