CI: Fix Mark Issue Duplicate job (#10220)

Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
xrkffggandfisker Cheung authored and GitHub committed 2021-02-03 10:09:04 +08:00
1 parent 58173be8b8
commit 9bb9828199
1 file changed
+2 -1
+2 -1
View File
@@ -8,8 +8,9 @@ on:
jobs:
mark-duplicate:
runs-on: ubuntu-latest
if: ${{ !github.event.issue.pull_request && startsWith(github.event.comment.body, "Duplicate of ") }}
steps:
- uses: actions-cool/issues-helper@v2.0.0
- uses: actions-cool/issues-helper@v2.1.1
with:
actions: "mark-duplicate"
token: ${{ secrets.GITHUB_TOKEN }}