From 6f6d468262a25ab2c860c1e592b80f1d8368e02d Mon Sep 17 00:00:00 2001 From: KevsterAmp Date: Tue, 19 Nov 2024 09:01:55 +0800 Subject: [PATCH] add trim() to github.event.comment.body on issue_assign workflow job --- .github/workflows/comment-commands.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/comment-commands.yml b/.github/workflows/comment-commands.yml index 62956f5825782..45f3e911377c1 100644 --- a/.github/workflows/comment-commands.yml +++ b/.github/workflows/comment-commands.yml @@ -11,7 +11,7 @@ permissions: jobs: issue_assign: runs-on: ubuntu-22.04 - if: (!github.event.issue.pull_request) && github.event.comment.body == 'take' + if: (!github.event.issue.pull_request) && trim(github.event.comment.body) == 'take' concurrency: group: ${{ github.actor }}-issue-assign steps: