From 8269e1337fce2b6b9cfaa358482a5def8dc631d1 Mon Sep 17 00:00:00 2001 From: Beyhan Veli Date: Tue, 19 Dec 2023 14:29:24 +0100 Subject: [PATCH] Change to multi line string in the output --- org/org_user_management.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/org/org_user_management.py b/org/org_user_management.py index a7418f49f..a8280d503 100644 --- a/org/org_user_management.py +++ b/org/org_user_management.py @@ -3,6 +3,7 @@ import datetime import yaml import os +import uuid from org_management import OrgGenerator @@ -160,7 +161,10 @@ def _get_bool_env_var(env_var_name, default): elif users_to_delete: userHandler.delete_inactive_contributors(users_to_delete) with open(os.environ["GITHUB_OUTPUT"], "a") as env: - print(f"inactive_users_pr_description={inactive_users_msg}", file=env) + delimiter = uuid.uuid1() + print(f"inactive_users_pr_description<<{delimiter}", file=env) + print(inactive_users_msg, file=env) + print(delimiter, file=env) inactive_users_with_role = community_members_with_role.intersection(inactive_users) print(f"Inactive users with role length is {len(inactive_users_with_role)} and users are {inactive_users_with_role}")