Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Anarios/return-youtube-dislike.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsy-b <94835959+sy-b@users.noreply.github.com>2022-07-03 09:17:45 +0300
committerGitHub <noreply@github.com>2022-07-03 09:17:45 +0300
commit8eeeae0bfd295231796001cc00edba98d8e0d041 (patch)
tree8e5fcfcb0f163893670784dc7965b1efbbba4f87 /.github
parent5d1c8580f1eccecbac3f6d94d1c7386c396edfbf (diff)
Execute if comment contains command
startsWith() --> contains() Signed-off-by: sy-b <94835959+sy-b@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/commentCommands.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/commentCommands.yml b/.github/workflows/commentCommands.yml
index dd94e84..d835522 100644
--- a/.github/workflows/commentCommands.yml
+++ b/.github/workflows/commentCommands.yml
@@ -23,7 +23,7 @@ jobs:
add-label-duplicate:
runs-on: ubuntu-latest
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 == 'COLLABORATOR' ||
github.event.comment.author_association == 'CONTRIBUTOR' )