mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 11:45:51 +00:00
22 lines
479 B
YAML
22 lines
479 B
YAML
name: Mark Issue as duplicate
|
|
|
|
on:
|
|
issue_comment:
|
|
types: [created]
|
|
|
|
jobs:
|
|
comment:
|
|
|
|
name: Mark Issue as duplicate
|
|
runs-on: ubuntu-latest
|
|
|
|
if: contains(github.event.comment.body, 'Duplicate of ')
|
|
|
|
steps:
|
|
- name: Add label to the Issue
|
|
uses: maxkomarychev/octions/octions/issues/add-labels@master
|
|
with:
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
issue_number: ${{ github.event.issue.number }}
|
|
labels: 'Duplicate'
|