diff --git a/.github/workflows/issue-comment.yml b/.github/workflows/issue-comment.yml index e5c680391c..a620af8c9c 100644 --- a/.github/workflows/issue-comment.yml +++ b/.github/workflows/issue-comment.yml @@ -23,7 +23,7 @@ jobs: add-label-if-not-author: runs-on: ubuntu-latest - if: (github.event.issue.user.id != github.event.comment.user.id) && !github.event.issue.pull_request && (github.event.issue.state == 'open') + if: (github.event.issue.user.id != github.event.comment.user.id) && !github.event.issue.pull_request && (github.event.issue.state == 'open') && (!contains(github.event.comment.body, '/keep-state')) steps: - name: Add require replay label uses: actions-cool/issues-helper@v2