Skip to content

Commit be702af

Browse files
committed
fix: just checking PR_COMMENTS
1 parent 534a50d commit be702af

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

main.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,7 @@ def add_job_summary() -> int:
9595

9696
def add_pr_comments() -> int:
9797
"""Posts the commit check result as a comment on the pull request."""
98-
if (
99-
PR_COMMENTS == "false"
100-
or not GITHUB_TOKEN
101-
or not GITHUB_REPOSITORY
102-
or not GITHUB_REF
103-
):
98+
if PR_COMMENTS == "false":
10499
return 0
105100

106101
try:

0 commit comments

Comments
 (0)