2020-04-26 13:58:22 +00:00
|
|
|
name: Mark Issue as duplicate
|
|
|
|
|
2020-07-30 11:30:20 +00:00
|
|
|
on:
|
|
|
|
issue_comment:
|
2020-04-26 13:58:22 +00:00
|
|
|
types: [created]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
comment:
|
2020-08-06 07:52:31 +00:00
|
|
|
|
|
|
|
name: Mark Issue as duplicate
|
2020-04-26 13:58:22 +00:00
|
|
|
runs-on: ubuntu-latest
|
2020-08-06 07:52:31 +00:00
|
|
|
|
2020-04-26 14:04:14 +00:00
|
|
|
if: contains(github.event.comment.body, 'Duplicate of ')
|
2020-09-06 15:19:17 +00:00
|
|
|
|
2020-04-26 13:58:22 +00:00
|
|
|
steps:
|
2020-04-26 14:00:44 +00:00
|
|
|
- name: Add label to the Issue
|
2020-04-26 13:58:22 +00:00
|
|
|
uses: maxkomarychev/octions/octions/issues/add-labels@master
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
2020-04-26 14:06:08 +00:00
|
|
|
issue_number: ${{ github.event.issue.number }}
|
2020-04-26 14:00:09 +00:00
|
|
|
labels: 'Duplicate'
|