potiuk opened a new issue, #10:
URL: https://github.com/apache/airflow-publish/issues/10

   We need to have 
[environments](https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment)
 configured as this is recommended best practice, becuse we should only have a 
handful of people (release manager) capable of publishig the releases, and this 
environment should be very separate and allow to only execute publishing 
workflows.
   
   This however requires changes to 
[.asf.yaml](https://github.com/apache/infrastructure-asfyaml) as we should be 
able to configure such environments via .asf.yaml file. 
   
   Currently .asf.yaml does not have the capability of configuring 
environments, but it should be rather straightforward to contribute changes to 
the .asf.yaml [processing python script 
](https://github.com/apache/infrastructure-p6/blob/production/modules/gitbox/files/asfgit/package/asfyaml.py)
 to include it, because there is [API 
available](https://docs.github.com/en/rest/deployments/environments?apiVersion=2022-11-28)
 to manage the environments and we should be able to contribute it rather 
easily.
   
   I already contributed once there 
https://github.com/apache/infrastructure-p6/commit/21b98e56ef7cd9c62fa20ec5b6aef008fb342971
 - and we can again contribute back to the ASF and make it possible for all 
projects to configure 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