Skip to content

Mark Issue as duplicate #4910

Mark Issue as duplicate

Mark Issue as duplicate #4910

Workflow file for this run

name: Mark Issue as duplicate
on:
issue_comment:
types: [created]
permissions:
contents: read
issues: write
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'