mimaison commented on code in PR #13842:
URL: https://github.com/apache/kafka/pull/13842#discussion_r1267865784


##########
refresh-collaborators.py:
##########
@@ -59,9 +64,20 @@
 yaml_content["github"]["collaborators"] = collaborators
 
 # Convert the updated content back to YAML
-updated_yaml = yaml.safe_dump(yaml_content)
+updated_yaml = io.StringIO()
+yml.dump(yaml_content, updated_yaml)
+updated_yaml_str = updated_yaml.getvalue()
 
-# Commit and push the changes
+# Create a new branch for the changes
+new_branch_name = "update-asf.yaml-github-whitelist-and-collaborators"

Review Comment:
   Do you know whether/how these branches will be deleted if the PR is merged? 
Typically it's the author that can delete the branch. I'm wondering what 
happens the second time this runs, will it force push to the branch or fail?



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to