Got banned from discord By BOOMER1 because i used Discord's reply functionality #5599
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |