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

17 lines
440 B
YAML
Raw Normal View History

name: Mark Issue as duplicate
on:
issue_comment:
types: [created]
jobs:
comment:
runs-on: ubuntu-latest
if: contains(github.event.issue_comment.comment, 'Duplicate of #')
steps:
- name: Add label
uses: maxkomarychev/octions/octions/issues/add-labels@master
with:
token: ${{ secrets.ACCESS_TOKEN }}
issue_number: ${{ github.event.issue.number }}
labels: 'Duplicate'