Add check to duplicate workflow (#3157)

* Update autoLabelDuplicate.yml

* remove empty lines
This commit is contained in:
efb4f5ff-1298-471a-8973-3d47447115dc 2023-02-07 00:58:08 +00:00 committed by GitHub
parent 96ccbce7b0
commit c349d63985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,9 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: Amwam/issue-comment-action@v1.3.1
- name: Check Comment Author
if: github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER'
uses: Amwam/issue-comment-action@v1.3.1
with:
keywords: '["duplicate of #", "duplicate of https://github.com/FreeTubeApp/FreeTube/issues/", "duplicate of https://github.com/FreeTubeApp/FreeTube/pulls/"]'
labels: '["U: duplicate"]'