diff --git a/.github/workflows/self-comment-slow-ci.yml b/.github/workflows/self-comment-slow-ci.yml index 5ab842a52ac..7c879861728 100644 --- a/.github/workflows/self-comment-slow-ci.yml +++ b/.github/workflows/self-comment-slow-ci.yml @@ -13,7 +13,7 @@ on: concurrency: # But this will cancel the current job no ? Because they have the same PR number ... (any comment even not the target one) group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.issue.number }}-${{ contains(github.event.comment.body, '/pytest') }} - cancel-in-progress: ${{ (github.event.issue.pull_request != null || github.event.pull_request != null) && contains(github.event.comment.body, '/pytest') }} + cancel-in-progress: ${{ (github.event.issue.pull_request != null || github.event.pull_request != null) }} jobs: reply-and-trigger: