mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-02 19:01:21 +01:00
Execute if comment contains command
startsWith() --> contains() Signed-off-by: sy-b <94835959+sy-b@users.noreply.github.com>
This commit is contained in:
1 file changed
+1
-1
@@ -23,7 +23,7 @@ jobs:
|
|||||||
add-label-duplicate:
|
add-label-duplicate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: |
|
if: |
|
||||||
startsWith(github.event.comment.body, "/duplicate") == '/add' && (
|
contains(github.event.comment.body, "/duplicate") == '/add' && (
|
||||||
github.event.comment.author_association == 'OWNER' ||
|
github.event.comment.author_association == 'OWNER' ||
|
||||||
github.event.comment.author_association == 'COLLABORATOR' ||
|
github.event.comment.author_association == 'COLLABORATOR' ||
|
||||||
github.event.comment.author_association == 'CONTRIBUTOR' )
|
github.event.comment.author_association == 'CONTRIBUTOR' )
|
||||||
|
|||||||
Reference in new issue
Block a user