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 10:36:29 +0300
committerGitHub <noreply@github.com>2022-07-03 10:36:29 +0300
commit630a271e9ddd126e94d381bba09505e9ff34c82b (patch)
treec113430a1f795c5bb6292de36b6120f7e67155ef /.github
parent8eeeae0bfd295231796001cc00edba98d8e0d041 (diff)
fix wrong expression & url
Signed-off-by: sy-b <94835959+sy-b@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/commentCommands.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/commentCommands.yml b/.github/workflows/commentCommands.yml
index d835522..89bf1c0 100644
--- a/.github/workflows/commentCommands.yml
+++ b/.github/workflows/commentCommands.yml
@@ -23,7 +23,7 @@ jobs:
add-label-duplicate:
runs-on: ubuntu-latest
if: |
- contains(github.event.comment.body, "/duplicate") == '/add' && (
+ contains(github.event.comment.body, "/duplicate") && (
github.event.comment.author_association == 'OWNER' ||
github.event.comment.author_association == 'COLLABORATOR' ||
github.event.comment.author_association == 'CONTRIBUTOR' )
@@ -34,5 +34,5 @@ jobs:
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
- https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/label \
+ https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels \
-d '{"labels":["duplicate"]}'