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

26 lines
531 B
YAML
Raw Normal View History

name: Mark Issue as duplicate
2020-07-30 11:30:20 +00:00
on:
issue_comment:
types: [created]
permissions:
contents: read
issues: write
jobs:
comment:
2020-08-06 07:52:31 +00:00
name: Mark Issue as duplicate
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
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-12-09 14:02:35 +00:00
labels: '🚩 Duplicate'