diff --git a/.github/workflows/uncrustify.yml b/.github/workflows/uncrustify.yml index 1b99cb2..90a2e86 100644 --- a/.github/workflows/uncrustify.yml +++ b/.github/workflows/uncrustify.yml @@ -7,7 +7,7 @@ on: jobs: Uncrustify: name: Run_Uncrustify - if: ${{ github.event.issue.pull_request }} && github.event.comment.body == '/bot run uncrustify' + if: ${{ github.event.issue.pull_request }} && contains(github.event.comment.body, '/bot run uncrustify') runs-on: ubuntu-18.04 steps: - name: Dump GitHub context