Skip to content

Commit

Permalink
ci: update the vote command to match instead of contains (#1274)
Browse files Browse the repository at this point in the history
Co-authored-by: Lukasz Gornicki <[email protected]>
  • Loading branch information
ManjulMittal and derberg authored Jun 24, 2024
1 parent 65a90f9 commit 63e6aa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/vote-verifcation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -61,4 +61,4 @@ jobs:
fi
fi
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_BOT_EVE }}
GH_TOKEN: ${{ secrets.GH_TOKEN_BOT_EVE }}

0 comments on commit 63e6aa7

Please sign in to comment.