asyncapi / community

AsyncAPI community-related stuff.
https://www.asyncapi.com/community
90 stars 96 forks source link

ci: update the vote command to match instead of contains #1274

Closed ManjulMittal closed 1 week ago

ManjulMittal commented 2 weeks ago

Description This update addresses issue #1273 where the GitHub Actions workflow was erroneously triggered by any comment containing the substrings "vote" or "cancel vote." The solution ensures that the workflow only runs when the comment exactly matches /vote or /cancel-vote. By using the == operator for exact string comparison, we prevent unintended activations of the workflow, ensuring precise and correct handling of voting commands.

Related issue(s)

Fixes #1273

git-vote[bot] commented 2 weeks ago

Only repository collaborators can create a vote @ManjulMittal.

For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.

asyncapi-bot-eve commented 2 weeks ago

Hi @ManjulMittal, since you are not a TSC Member, you cannot start or stop voting. Please read more about voting process

derberg commented 1 week ago

lgtm

@AayushSaini101 thoughts?

AayushSaini101 commented 1 week ago

lgtm

@AayushSaini101 thoughts?

Working verified: https://github.com/AayushSaini101/Vote/issues/81#issuecomment-2186204311 thanks @ManjulMittal LGTM

asyncapi-bot-eve commented 1 week ago

Hi @AayushSaini101, since you are not a TSC Member, you cannot start or stop voting. Please read more about voting process

derberg commented 1 week ago

/rtm

derberg commented 1 week ago

/rtm