We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af22949 commit 0a63946Copy full SHA for 0a63946
main.py
@@ -169,8 +169,8 @@ def add_pr_comments() -> int:
169
pull_request.create_comment(body=pr_comments)
170
171
# output pr_comments to $GITHUB_OUTPUT
172
- with open(os.environ["GITHUB_OUTPUT"], "a") as output_file:
173
- output_file.write(f"pr_comments={pr_comments}\n")
+ with open(os.environ["GITHUB_OUTPUT"], "a", encoding="utf-8") as env_file:
+ env_file.write(f"pr_comments={pr_comments}\n")
174
175
return 0 if result_text is None else 1
176
except Exception as e:
0 commit comments