issue-mark-duplicate.temp.yml 544 B

1234567891011121314151617181920
  1. # force copy from tencent/tdesign
  2. # 当在 issue 的 comment 回复类似 `Duplicate of #111` 这样的话,issue 将被自动打上 重复提交标签 并且 cloese
  3. name: Issue Mark Duplicate
  4. on:
  5. issue_comment:
  6. types: [created, edited]
  7. jobs:
  8. mark-duplicate:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - name: mark-duplicate
  12. uses: actions-cool/issues-helper@v2
  13. with:
  14. actions: "mark-duplicate"
  15. token: ${{ secrets.GITHUB_TOKEN }}
  16. duplicate-labels: "duplicate"
  17. close-issue: true