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 459a669 commit c388ea5Copy full SHA for c388ea5
main.py
@@ -168,8 +168,9 @@ def add_pr_comments() -> int:
168
print(f"Creating a new comment on PR #{pr_number}.")
169
pull_request.create_comment(body=pr_comments)
170
171
- # output pr_comments to GitHub Actions
172
- print(f"::set-output name=pr_comments::{pr_comments}")
+ # output pr_comments to $GITHUB_OUTPUT
+ with open(os.environ["GITHUB_OUTPUT"], "a") as output_file:
173
+ output_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