mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-02 19:01:21 +01:00
Improve - assign-commenter
Signed-off-by: sy-b <94835959+sy-b@users.noreply.github.com>
This commit is contained in:
1 file changed
+4
-3
@@ -9,7 +9,8 @@ jobs:
|
|||||||
assign-commentor:
|
assign-commentor:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: |
|
if: |
|
||||||
github.event.comment.body == '/assignme'
|
contains(github.event.comment.body, '/assignme') ||
|
||||||
|
contains(github.event.comment.body, '/assign me')
|
||||||
steps:
|
steps:
|
||||||
- name: Assigning to commenter
|
- name: Assigning to commenter
|
||||||
run: |
|
run: |
|
||||||
@@ -23,10 +24,10 @@ jobs:
|
|||||||
add-label-duplicate:
|
add-label-duplicate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: |
|
if: |
|
||||||
contains(github.event.comment.body, "/duplicate") && (
|
contains(github.event.comment.body, '/duplicate') && (
|
||||||
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' )
|
||||||
steps:
|
steps:
|
||||||
- name: add-label-duplicate
|
- name: add-label-duplicate
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user