Skip to content

Commit 0a4f86e

Browse files
committed
ci: fix null vs empty string check for review body
1 parent c565289 commit 0a4f86e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/sdk_pr_review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
name: "Apply Review Fixes"
4040
if: >-
4141
(github.event.review.state == 'changes_requested'
42-
|| (github.event.review.state == 'commented' && github.event.review.body != ''))
42+
|| (github.event.review.state == 'commented' && github.event.review.body))
4343
&& (github.event.pull_request.user.login == 'yenkins-admin'
4444
|| github.event.pull_request.user.login == 'tychtjan')
4545
&& github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name

0 commit comments

Comments
 (0)