mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-25 16:17:29 +00:00
Create label-duplicates.yml
This commit is contained in:
parent
b1757d7ed1
commit
20619457bb
18
.github/workflows/label-duplicates.yml
vendored
Normal file
18
.github/workflows/label-duplicates.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: Label duplicates
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
add-labels:
|
||||
runs-on: ubuntu-latest
|
||||
if: contains(github.event.issue.body, 'Duplicate of') == true
|
||||
steps:
|
||||
- name: Add labels
|
||||
uses: actions-cool/issues-helper@v2.2.1
|
||||
with:
|
||||
actions: 'add-labels'
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
labels: 'duplicate'
|
Loading…
Reference in New Issue
Block a user