stevenbooke commented on code in PR #13842: URL: https://github.com/apache/kafka/pull/13842#discussion_r1270163490
########## 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: I look into this more in the coming days and post an update. -- 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