diff --git a/.github/workflows/vote-verifcation.yml b/.github/workflows/vote-verifcation.yml index 780532d05..dfd592b5c 100644 --- a/.github/workflows/vote-verifcation.yml +++ b/.github/workflows/vote-verifcation.yml @@ -17,7 +17,7 @@ jobs: authorName: "${{github.event.comment.user.login}}" - name: Checking the person authenticity. - if: contains(github.event.comment.body, '/vote') || contains(github.event.comment.body, '/cancel-vote') + if: (github.event.comment.body == '/vote') || (github.event.comment.body == '/cancel-vote') uses: actions/github-script@v6 with: github-token: ${{ secrets.GH_TOKEN_BOT_EVE }} @@ -61,4 +61,4 @@ jobs: fi fi env: - GH_TOKEN: ${{ secrets.GH_TOKEN_BOT_EVE }} \ No newline at end of file + GH_TOKEN: ${{ secrets.GH_TOKEN_BOT_EVE }}