diff --git a/.github/workflows/self-comment-slow-ci.yml b/.github/workflows/self-comment-slow-ci.yml index 4000b76c21d31d..269a1418ea1def 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 ... group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.issue.number }} - cancel-in-progress: ${{ github.event.pull_request.number }} + cancel-in-progress: ${{ github.event.issue.pull_request != null || github.event.pull_request != null }} jobs: reply-and-trigger: