1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 11:45:51 +00:00
Slimefun4/.github/workflows/duplicates.yml

18 lines
442 B
YAML
Raw Normal View History

name: Mark Issue as duplicate
2020-07-30 11:30:20 +00:00
on:
issue_comment:
types: [created]
jobs:
comment:
runs-on: ubuntu-latest
2020-04-26 14:04:14 +00:00
if: contains(github.event.comment.body, 'Duplicate of ')
steps:
2020-04-26 14:00:44 +00:00
- name: Add label to the Issue
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'